Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
https://markdown-it.github.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
510 B
45 lines
510 B
10 years ago
|
Taking stmd tests from the spec for benchmarking here:
|
||
|
|
||
|
<a><bab><c2c>
|
||
|
|
||
|
<a/><b2/>
|
||
|
|
||
|
<a /><b2
|
||
|
data="foo" >
|
||
|
|
||
|
<a foo="bar" bam = 'baz <em>"</em>'
|
||
|
_boolean zoop:33=zoop:33 />
|
||
|
|
||
|
<33> <__>
|
||
|
|
||
|
<a h*#ref="hi">
|
||
|
|
||
|
<a href="hi'> <a href=hi'>
|
||
|
|
||
|
< a><
|
||
|
foo><bar/ >
|
||
|
|
||
|
<a href='bar'title=title>
|
||
|
|
||
|
</a>
|
||
|
</foo >
|
||
|
|
||
|
</a href="foo">
|
||
|
|
||
|
foo <!-- this is a
|
||
|
comment - with hyphen -->
|
||
|
|
||
|
foo <!-- not a comment -- two hyphens -->
|
||
|
|
||
|
foo <?php echo $a; ?>
|
||
|
|
||
|
foo <!ELEMENT br EMPTY>
|
||
|
|
||
|
foo <![CDATA[>&<]]>
|
||
|
|
||
|
<a href="ö">
|
||
|
|
||
|
<a href="\*">
|
||
|
|
||
|
<a href="\"">
|