showdown/test/features/#178.markdown-inside-html-does-not-parse.html
Estevão Soares dos Santos c97f1dc6b1 feat(markdown="1"): enable parsing markdown inside HTML blocks
Enable parsing markdown inside HTML blocks if those blocks have an attribute called markdown="1".
This feature is EXPERIMENTAL! As such, the behavior might change on future releases.

Closes #178
2016-01-02 01:08:17 +00:00

10 lines
194 B
HTML

<h1 id="somemarkdown">some markdown</h1>
<p>blabla</p>
<div>This is **not parsed**</div>
<div markdown="1">
<p>This is <strong>parsed</strong></p>
</div>
<div>This is **not parsed**</div>