An event-based parser for markdown text
This is a parser for Markdown-formatted text. It follows the following design guidelines:
NSXMLParser
It’s a goal for this project to be developed using “test-driven development” (TDD). This is fancy talk for “write the unit test first, then code the implementation”.
Another is to, at some point in the not-too-distant future, provide input for DTCoreText to allow generating
NSAttributedStrings directly from Markdown. Therefore the delegate protocol uses metaphors similar to those found in
DTHTMLParser.
Contributions are welcome, provided you use the following workflow:
DTMarkdownparserTestfor examples)
This project is covered by a BSD 2-clause license. If you use it in a published app, you have to give some form of credit to Cocoanetics (like on your About screen). This requirement is lifted if you procure a Non-Attribution License from us.