Closed puopg closed 10 months ago
Thanks @puopg!
Tracing this further into the stack.
This is coming from the markdown parser react-markdown
uses, micromark
https://stackblitz.com/edit/stackblitz-starters-n2yquc
I know there is at least one emphasis related issue open https://github.com/micromark/micromark/issues/92
But this feels different, would you be interested/able to post an issue to micromark
@puopg?
Sure thing, lemme open one and ill link it here.
Thanks, moving the discussion there :)
When processing the MD string
React markdown renders what seems to be some additional asterisks?
Initial checklist
Affected packages and versions
9.0.1
Link to runnable example
No response
Steps to reproduce
Compare the result of:
This is just 1 word, where the first half is both italicized and bolded, the 2nd half is only italicized.
The MDAST that gets created from unified() => rehypeParse => rehypeRemark looks correct, so to me the issue seems to be either:
Expected behavior
Actual behavior
Runtime
No response
Package manager
No response
OS
No response
Build and bundle tools
No response