In our previous looks at Markdown, we focused on a couple of free apps (one Windows, one Mac) that have native Markdown support. If you have a favorite text editor, though, and want to bring Markdown to it, then check out Marked. (For a discussion about why you should care about Markdown, head on over to our post about why you should bother with Markdown).
Marked is a Mac-only app that will read any Markdown, MultiMarkdown, Text, or HTML file, and display it as HTML. It should work with any text editor. Simply type in your editor of choice using one of the supported languages, like Markdown, and save your document. Then drag the title of your document from your editor’s title bar onto the Marked icon in your dock, and a preview window will open, displaying your document in HTML. You can then keep that window open as you work, and the preview will be updated every time you save your document. The image below (click it to enlarge it) shows a document in TextEdit on the left, and the preview in Marked on the right.
Make sure that you’re working on a plain text file in your editor. I made the initial mistake of not noticing that TextEdit was saving my file as a rich text document. Markdown is a plain text language, so Marked won’t work with a rich text formatted document.
When you’re done with your document, you can quickly copy the HTML that is produced, or export the document as an HTML document or a PDF document. I typically use the keystroke to copy the HTML, and paste it into my destination.
Marked has a few other features as well, including different preview styles, document statistics, and the ability to float the preview window so that it stays on top of your other windows.
Marked is only $2.99 the Mac App Store, so it’s hard to go wrong with it if you use Markdown on a Mac. Have we sold you on Markdown formatting yet?
Marked [Mac App Store]