[ANN] PEG Markdown Highlight

Ali Rantakari ali.markdown-discuss at hasseg.org
Tue Jun 28 14:51:50 EDT 2011


Dear fellow Markdown enthusiasts,

As you all might know, Markdown is a highly context sensitive language that the (often regex-based) syntax highlighting mechanisms in existing editors struggle to keep up with.

I have taken John MacFarlane's excellent peg-markdown compiler and modified its parser to function as an interpreter for syntax highlighting purposes. The end result is a Markdown-specific syntax highlighter that should be able to match Markdown documents just as correctly as peg-markdown can, and that can easily be integrated into existing and new programs.

You can find all the relevant information at the project web page:

<http://hasseg.org/peg-markdown-highlight>


best,
- Ali Rantakari




More information about the Markdown-Discuss mailing list