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.
813 B
813 B
this is a sentencewithmid asterisks
this is a sentencewithtwo mid asterisks
this is a sentencewiththree 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 doubleasteriskmid 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