“pegdown is a pure Java library for clean and lightweight Markdown processing. It’s implementation is based on a parboiled PEG parser and is therefore rather easy to understand and extend.

“pegdown is nearly 100% compatible with the original Markdown specification and fully passes the original Markdown test suite. On top of the standard Markdown feature set pegdown implements a number of extensions similar to what other popular Markdown processors offer.”