Markdown documentation can be found in http://daringfireball.net/projects/markdown/. This parser is inspired by the famous TxtMark for Java (https://github.com/rjeschke/txtmark).
nitmd can be used as a standalone tool:
$ nitmd file.md
Or you can use it programmatically by importing the markdown module.
This parser passes all tests inside http://daringfireball.net/projects/downloads/MarkdownTest_1.0_2007-05-09.tgz execpt of two:
The NitUnit test suite can be found in test_markdown.nit.
Minimalists tests are prefixed with process_*. All tests from daringfireball are prefixed with process_daring*.
Run the test suite:
$ nitunit lib/markdown/markdown.nit -t lib/markdown/test_markdown.nit