Skip to content

reason for "end-tag-mismatch" error #2260

Discussion options

You must be logged in to vote

See #2181 and #2053
To repeat:

MDX embedded JSX can be inline:

<p>text</p>

Or MDX embedded JSX can be a block

<p>
  text
</p>

both of the above are valid.


Content cannot mix inline and block with the same tag, such as:

<p>text
</p>

or

<p>
text</p>

both of the above are invalid

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stefanprobst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants