Using GitHub’s Markdown parser with Marked 2

I just spent a little too long figuring out how to get Marked 2 to parse Markdown the same way GitHub does. You might want to do the same so that you can easily determine if the README doc you’re editing locally will appear the way you want it to on GitHub.

First, install GitHub’s Markdown parser with Homebrew: brew install cmark-gfm.

Then in Marked 2’s Advanced Preferences pane:
1. Check Enable Custom Processor
2. Set the Path to /usr/local/bin/cmark-gfm
3. Set the Args to -e table -e strikethrough -e autolink