mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-17 05:55:04 +00:00
Can't parse right for **Bold_ItalicInlineCode_Bold**
#721
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @idea-zone on GitHub (Feb 2, 2025).
If I try to run the code:
Case1: how can i use "_" to mark Italic
The result is: (But It's not what I want)
I want
Case2: Why Can't I parse
**Bold*Italic*Bold**to right style?AND if I use
It's give me the wrong result here:
@xoofx commented on GitHub (Feb 2, 2025):
The rule is not easy and detailed in the spec in Emphasis and strong emphasis (left-flanking / right-flanking rules).
So both results are correct according to the specs.
@xoofx commented on GitHub (Feb 2, 2025):
You can verify that all other CommonMark engine are generating the same correct result here
@tats-u commented on GitHub (Nov 13, 2025):
For Chinese text: