Skip to content

First-Come, First-Served

Compare
Choose a tag to compare
@erusev erusev released this 26 Dec 22:18
· 734 commits to master since this release

Version 0.8 features a new approach to parsing inline elements. Along with performance, it improves consistency.

To give an example, here are a markdown text and a comparison of the output that it would produce.

*em **strong em***
***strong em** em*
*em **strong em** em*

The parser used by GitHub.com:

<em>em *</em>strong em***
<em>**strong em</em>* em*
<em>em *</em>strong em** em*

Parsedown:

<p><em>em <strong>strong em</strong></em>
<strong><em>strong em</em>* em*
*em </strong>strong em*<em> em</em></p>

Additionally, version 0.8 features an option to enable automatic line breaks.