mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
test(emphasis): add more test scenarios to emphasis
This commit is contained in:
parent
3bbe4e2ef1
commit
f938d2b8aa
|
@ -12,3 +12,55 @@
|
|||
|
||||
<p>text with <strong>bold text that
|
||||
spans across multiple</strong> lines</p>
|
||||
|
||||
<p>underscored_word</p>
|
||||
|
||||
<p>doubleunderscore__word</p>
|
||||
|
||||
<p>asterix*word</p>
|
||||
|
||||
<p>doubleasterix**word</p>
|
||||
|
||||
<p>line with_underscored word</p>
|
||||
|
||||
<p>line with__doubleunderscored word</p>
|
||||
|
||||
<p>line with*asterixed word</p>
|
||||
|
||||
<p>line with**doubleasterixed word</p>
|
||||
|
||||
<p>some line<em>with</em>inner underscores</p>
|
||||
|
||||
<p>some line<strong>with</strong>inner double underscores</p>
|
||||
|
||||
<p>some line<em>with</em>inner asterixs</p>
|
||||
|
||||
<p>some line<strong>with</strong>inner double asterixs</p>
|
||||
|
||||
<p>another line with just _one underscore</p>
|
||||
|
||||
<p>another line with just __one double underscore</p>
|
||||
|
||||
<p>another line with just *one asterix</p>
|
||||
|
||||
<p>another line with just **one double asterix</p>
|
||||
|
||||
<p>a sentence with<em>underscore and another</em>underscore</p>
|
||||
|
||||
<p>a sentence with<strong>doubleunderscore and another</strong>doubleunderscore</p>
|
||||
|
||||
<p>a sentence with<em>asterix and another</em>asterix</p>
|
||||
|
||||
<p>a sentence with<strong>doubleasterix and another</strong>doubleasterix</p>
|
||||
|
||||
<p>escaped word_with_underscores</p>
|
||||
|
||||
<p>escaped word__with__double underscores</p>
|
||||
|
||||
<p>escaped word<em>_with_</em>single italic underscore</p>
|
||||
|
||||
<p>escaped word*with*asterixs</p>
|
||||
|
||||
<p>escaped word**with**asterixs</p>
|
||||
|
||||
<p>escaped word<strong>*with*</strong>bold asterixs</p>
|
||||
|
|
|
@ -12,3 +12,55 @@ 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 line*with*inner asterixs
|
||||
|
||||
some line**with**inner 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 with*asterix and another*asterix
|
||||
|
||||
a sentence with**doubleasterix and another**doubleasterix
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user