mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
c97f1dc6b1
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
10 lines
194 B
HTML
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>
|
|
|