-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strong and em combination at different position of word inconsistency. #561
Comments
By default reference (dingus) implementation has priority.
Of cause, divergence from reference implementation is not nice and should be fixed. I'd suggest you post your samples to spec repo, because it worth add those into official test cases. |
It was changed in commonmark 0.29 (see commonmark/commonmark-spec@83ed53e). Should work now after updating code up to spec. |
Thank you, @rlidwka for the commit. I confirm that this issue resolved with 9.0.0 release. |
This is now allowed as per commonmark 0.29 spec: ex***amp***le See also: commonmark/commonmark-spec@83ed53e fix markdown-it/markdown-it#561
Greetings!
I'd like to ask a question about correct and bugless
em
andstrong
composition. Le'ts assume we want to definestrong
andem
marks at different parts of word:***example***
-> exampleex***amp***le
-> example***exam***ple
-> exampleex***ample***
-> exampleI created small demo with different combinations of
em
marks (*
and_
) in markdownIt demo:markdownIt demo
and commonmark demo
Looking at fact, that compilation results has such diversity, I'm curious if there is a right way to define such styling constructions in markdownIt?
Thanks for any clarification.
P.S.:
markdownIt demo page:
commonmark demo page:
The text was updated successfully, but these errors were encountered: