Markdent - Event Based Markdown Parsing
By Dave Rolsky (autarch) from Minneapolis.pm
Date: Saturday, February 6, 2010 10:00 AM
Duration: 20 minutes
Target audience: Intermediate/Advanced
Language:
Markdown is a convenient format for wikis, comments, and any other sort of user input. However, parsing it is painful, and the existing Perl tools are limited to turning Markdown straight into HTML.
Markdent is an event-generating parser (think SAX). Using Markdent, you can explore Markdown documents in all sorts of interesting ways.
You could extract all of the links in a document, turn it into plain text, pull out headers to build a table of contents, and of course turn it into HTML.
