67

Is there an application to preview markdown files (.md files) on OSX (for instance on Maverick)?

53

The superuser question, Markdown Live Preview Editor?, provides a wealth of options:

In additional to those, you can install a markdown QuickLook plugin for Finder based previews.

MarkdownLive

MarkdownLive

Mou

Mou

Marked 2

Marked2

  • The QuickLook plug-in does not work with Mavericks. – Colas Feb 24 '14 at 12:56
  • 1
    Regarding the QuickLook plug-in, please consider adding your voice to github.com/toland/qlmarkdown/issues/29; or, as the project is open source, having a go at fixing up the code. – Graham Miln Feb 24 '14 at 15:54
  • alternativeto.net/software/mou/?platform=mac has updated list of markdown preview (and/or) editor – twnaing Sep 25 '16 at 5:54
  • 1
    Fyi, yhe QuickLook plugin does work with El Capitan 10.11.6 – duthen Dec 7 '16 at 23:02
  • Would it be alright to expand your answer's section on QLMarkdown with stuff from my answer, given that it's largely a duplicate? I can add a screenshot of it. – Thunderforge Sep 4 '17 at 0:37
15

I would like to add the excellent - and open source - MacDown to the list.

7

The perfect preview tool for Markdown is Marked 2 which gives a preview of your Markdown and watches the file so that every time you save in an editor your preview is updated.

It also supports custom pre-processors so you can use extra markup such as critic, custom CSS so you can have a preview that looks however you wish and tools to export the result in a variety of formats. It can even track an entire folder and start previewing a different file when you start to edit it.

Taken together all that means that you can write your Markdown in any editor you like and preview and output easily.

You might want to think about installing qlmarkdown which gives you the ability to preview MarkDown files properly in the Finder using QuickLook.

3

There is also Markoff (App Store, GitHub), a pure viewer for CommonMark files:

3

Visual Studio Code

VSCode Markdown Example Source: https://code.visualstudio.com/docs/languages/markdown#_markdown-preview

Microsoft's Visual Studio Code has been surprisingly pleasant to use as a general purpose IDE, and elegantly renders markdown.

2

If you would like markdown to be read with Quick Look, you can use QLMarkdown.

You can install it either by:

  • Download the QLMarkdown.qlgenerator in either ~/Library/QuickLook (current user) or /Library/QuickLook (all users).
  • Using Homebrew, run brew cask install qlmarkdown in the Terminal

After that, you should be able to view markdown files.

  • 1
    Why the downvote? A mod suggested I post this here after posting it on a duplicate question. I had thought it would be welcome here. – Thunderforge Sep 3 '17 at 5:23
  • If I had to guess, It's probably because the accepted answer already linked and mentioned the QuickLook generator for Markdown files and there is no need to have redundant answers. – user3439894 Sep 3 '17 at 5:33
1

If you're using the Terminal, I made a thing in Node.

1

If you'd rather not install a new application, there are browser extensions for this. I use Markdown Viewer for Google Chrome, which allows Chrome to open markdown files and displays them like GitHub would. Then just set your browser as the default application to open .md files (or use open with if you'd rather have an editor be the default program).

  • 1
    @Jackson1442 this actually is an answer providing a solution to the question asked. It could be improved by explaining in more detail how this plugin can be used to render locally-stored Markdown files. – nohillside Jul 19 '17 at 16:14
  • @patrix - oops! I misread this answer. Really badly! My apologies, Barry! – Jackson1442 Jul 19 '17 at 16:16
0

If you are using sublimetext, then you can use MARKDOWN PREVIEW package from package manager.

it has multiple styles like GITHUB, HTML and etc.

You must log in to answer this question.

protected by nohillside Sep 19 '17 at 5:34

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .