fix italicsAndBold if literalMidwordUnderscores option is enabled it should end at the nearest closing underscores, not the furthest Closes #544
1.7 KiB
single asterisks
single underscores
double asterisks
double underscores
text with italic sentence in middle
text with bold sentence in middle
text with bold text that spans across multiple lines
underscored_word
doubleunderscore__word
asterix*word
doubleasterix**word
line with_underscored word
line with__doubleunderscored word
line with*asterixed word
line with**doubleasterixed word
some line_with_inner underscores
some line__with__inner double underscores
some linewithinner asterixs
some linewithinner double asterixs
another line with just _one underscore
another line with just __one double underscore
another line with just *one asterix
another line with just **one double asterix
a sentence with_underscore and another_underscore
a sentence with__doubleunderscore and another__doubleunderscore
a sentence withasterix and anotherasterix
a sentence withdoubleasterix and anotherdoubleasterix
escaped word_with_underscores
escaped word__with__double underscores
escaped word__with__single italic underscore
escaped word*with*asterixs
escaped word**with**asterixs
escaped word***with***bold asterixs
foobarbaz
foo__bar__baz
this is imbued link with strong
this is imbued link with strong
this link has underscore some_link
multiple italics and bolds with underscores in a paragraph
multiple italics and bolds with asterisks in a paragraph
multiple bolds with underscores in a paragraph
multiple bolds with asterisks in a paragraph
multiple italics with underscores in a paragraph
multiple italics with asterisks in a paragraph