Maruku: a better Markdown interpreter for Ruby.
jgm at berkeley.edu
Fri Dec 29 02:30:10 EST 2006
+++ Jacob Rus [Dec 28 06 17:18 ]:
> Jan Erik Moström wrote:
> > A question: am I correct when I guess that all implementations
> > use regexp to parse the text
> > or is there some implementation
> > that do "real" parsing?
Yes. Pandoc <http://sophos.berkeley.edu/macfarlane/pandoc> does "real"
parsing, using Haskell's Parsec library of parser combinators. I suppose
one might quibble about whether it counts as an "implementation"
of markdown; it comes close to full compatibility, but differs from
standard markdown on a few edge cases (described in the documentation),
and also provides a few syntax extensions. With some effort, I suppose,
a "full compatibility" mode could be added.
More information about the Markdown-Discuss