mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
5bec8f9e9a
Implements feature similar to ignoring midword underscores but with asterisks. The main use case is ignoring cursing.
47 lines
813 B
Markdown
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
|