mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
0c0cd7db99
Github Flavored Markdown does not parse underscores in the middle of a word as emphasis/bold. This commit adds this feature to showdown through an option called "literalMidWordUnderscores". Related to #164
12 lines
295 B
HTML
12 lines
295 B
HTML
<p>this is a sentence_with_mid underscores</p>
|
|
|
|
<p>this is a sentence with just_one underscore</p>
|
|
|
|
<p>this <em>should be parsed</em> as emphasis</p>
|
|
|
|
<p>this is double__underscore__mid word</p>
|
|
|
|
<p>this has just__one double underscore</p>
|
|
|
|
<p>this <strong>should be parsed</strong> as bold</p>
|