A Markdown Previewer with MathML Support
January 4, 2013
Marked is a highly-rated Markdown previewer for OS X. Now, I’m not partial to graphical editors–I prefer to write plain Markdown in Emacs instead–but Marked is a previewer. You still edit your files using your favorite text editor, but Marked watches the files for changes and updates the preview as needed, rendering your documents using one of the several included stylesheets.
This feature, in particular, was the selling point for me:
Marked can load MathJax from the CDN and provide support for MathML in your preview.
As an example, see the following screenshot of some Markdown and LaTeX source code in Emacs, followed by the MathML in the preview as rendered by Marked.
I’ve been using LaTeX and Markdown in tandem for several years now, and they play well together, so I’m very happy to see that this sort of usage is becoming more mainstream.
Some additional features of interest:
- Full keyboard navigation.
- Command line invocation.
- Custom Markdown processor support.
- Automatic syntax highlighting.
- Fenced code block support.