Skip to content

Commit

Permalink
In Zero-width space sub-section, add 2 examples for cases in which ze…
Browse files Browse the repository at this point in the history
…ro-width space may be required to satisfy left/right-flanking delimiter run rules (with reference to Emphasis and strong emphasis sub-section)

Fixes: commonmark#643
  • Loading branch information
haqer1 committed Apr 24, 2020
1 parent 36cd40b commit 1f95f08
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,24 @@ ensure emphasis, etc. in East Asian text:
````````````````````````````````


Zero-width space may also need to be used to achieve some emphasis effects
while satisfying Markdown's [emphasis and strong emphasis] rules:

```````````````````````````````` example
Hello *Super-*​**man**
.
<p>Hello <em>Super-</em>​<strong>man</strong></p>

````````````````````````````````

```````````````````````````````` example
Hello ***Super***&#8203;**-man**
.
<p>Hello <em><strong>Super</strong></em>​<strong>-man</strong></p>

````````````````````````````````


Zero-width space can also be used to achieve some combined effects such as mixed
bold/italic mark-up:

Expand Down

0 comments on commit 1f95f08

Please sign in to comment.