mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
3097bd45c2
This feature enables hashing span elements that should not be touched by
showdown. For instance, `<code>` tags in markdown source should not be
parsed by showdown, so the text inside them remains unchanged.
This is made possible by a new exciting internal feature,
matchRecursiveRegExp.
Closes #196, Closes #175, Partially reverts 5f043ca
9 lines
253 B
HTML
9 lines
253 B
HTML
<p><code>some **code** yeah</code></p>
|
|
|
|
<p>some <code>inline **code** block</code></p>
|
|
|
|
<p><code>some inline **code**</code> block</p>
|
|
|
|
<p>yo dawg <code start="true">some <code start="false">code</code> inception</code></p>
|
|
|
|
<div>some **div** yeah</div> |