bevry/docpad-extras — pull request #15 by chase (2012-08-25 22:37:21+00:00)
Title: Fix Markdown issues by switching the parser to Marked

The official [Github-Flavored-Markdown](https://npmjs.org/package/github-flavored-markdown) uses a very old (at the time of writing, *9 months*) version of Showdown.js.

This may not seem like a problem, however when using GitHub-style code blocks, odd results can appear.

An example is when using a code block with `coffeescript` explicitly stated as the language in a Markdown document, any of the code that has two successful newlines `\n` will embed a `pre code` element inside of the `div.highlight pre` element where the rest of the code resides.

Not only does [Marked](https://github.com/chjj/marked) properly support GFM, but it is also currently the fastest Javascript parser for Markdown. It is well maintained and should provide a much more stable library as it is actively receiving contributions.