Triple emphasis support #244

Closed
opened 2026-01-29 14:31:28 +00:00 by claunia · 2 comments
Owner

Originally created by @XspeedPL on GitHub (Nov 20, 2018).

Hello,

As far as I know Markdig doesn't support italic and bold at once text by using triple emphasis.
Example: commonmark.js dingus link
EmphasisInline class has only IsDouble property. Either IsTriple or Count property could be introduced.

Cheers

Originally created by @XspeedPL on GitHub (Nov 20, 2018). Hello, As far as I know Markdig doesn't support italic and bold at once text by using triple emphasis. Example: [commonmark.js dingus link](https://spec.commonmark.org/dingus/?text=***test***) EmphasisInline class has only IsDouble property. Either IsTriple or Count property could be introduced. Cheers
Author
Owner

@MihaZupan commented on GitHub (Nov 20, 2018):

It does, see babelmark
If you look at the syntax tree returned when parsing this text, you will see that it outputs EmphasisInline(double) inside of an EmphasisInline(single).

@MihaZupan commented on GitHub (Nov 20, 2018): It does, see [babelmark](https://babelmark.github.io/?text=***test***) If you look at the syntax tree returned when parsing this text, you will see that it outputs `EmphasisInline`(double) inside of an `EmphasisInline`(single).
Author
Owner

@XspeedPL commented on GitHub (Nov 20, 2018):

My bad, it does indeed work that way.

@XspeedPL commented on GitHub (Nov 20, 2018): My bad, it does indeed work that way.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#244