Replies: 1 comment 2 replies
-
Hi! What are you doing and why? Perhaps markdown is not what you care about, perhaps you care about HTML. The spec/types you link is about the earliest parser integration. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently writing a markdown plugin in TypeScript to process MDX and have encountered a problem:
<div>Hello <span>World</span></div>
into the playground to check the mdast tree, we can see anmdxJsxFlowElement
havingmdxJsxTextElement
andtext
as children.mdxJsxTextElement
andtext
to be children ofmdxJsxFlowElement
So which of the two is correct? Or am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions