You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In MDX 1 this behavior is intended.
If the line starts with JSX content, it is assumed the whole line is JSX, and no wrapping paragraph is added.
If the line starts with Markdown/plaintext, it is assumed the line is mixed Markdown/JSX and a wrapping paragraph is added.
JSX followed by markdown link does not render link as HTML
Using a
<jsx>tag</jsx>
followed by a[link](../path)
does not render the link as HTML and instead outputs the raw markdown.Your environment
Steps to reproduce
<Hello/> [link](../path)
[link](../path)
Interestingly, putting text before the JSX fixes it e.g.
Text <Hello/> [link](../path)
Expected behaviour
The link should be output as an HTML
<a>
tagActual behaviour
The raw markdown is output
Screenshot from playground:
The text was updated successfully, but these errors were encountered: