What are the complete syntax rules for emphasis? #22854
-
Can someone point me to all the rules about bold and italic text in GitHub Flavored Markdown? I already found two surprises:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @italicize, GitHub uses CommonMark as the Markdown processor, so you can view all of the rules for emphasis in the CommonMark specifications. Does this help? Thanks! |
Beta Was this translation helpful? Give feedback.
-
The complete specification has 17 rules about when emphasis begins and ends. To summarize, I wrote three rules for myself:
To see these rules with examples, see Emphasis in GitHub Flavored Markdown. |
Beta Was this translation helpful? Give feedback.
The complete specification has 17 rules about when emphasis begins and ends. To summarize, I wrote three rules for myself: