showdown/test/features/enable-literalMidWordAsterisks.md
Miguel Laginha 5bec8f9e9a feat(literalMidWordAsterisks): add option for mid word asterisks
Implements feature similar to ignoring midword underscores but with asterisks. The main use case is ignoring cursing.
2017-04-05 16:25:20 +01:00

47 lines
813 B
Markdown

this is a sentence*with*mid asterisks
this is a sentence**with**two mid asterisks
this is a sentence***with***three mid asterisks
this is a sentence with just*one asterisk
this is a sentence with just**one asterisk
this is a sentence with just***one asterisk
this is double**asterisk**mid word
this has just**one double asterisk
this has just***one triple asterisk
this *should be parsed* as emphasis
this **should be parsed** as bold
this ***should be parsed*** as bold and emphasis
emphasis at *end of sentence*
bold at **end of sentence**
bold and emphasis at ***end of sentence***
*emphasis at* line start
**bold at** line start
***bold and emphasis at*** line start
multi *line emphasis
yeah it is* yeah
multi **line emphasis
yeah it is** yeah
multi ***line emphasis
yeah it is*** yeah