-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
"<" in Markdown Code element is producing an error #1424
Comments
@Exelord your example doesn't have a code element. the syntax you are looking for is <h1>
`for (let i = 0; i < 9; i++)`
</h1> |
V2 would make this easier too btw! There your code should work |
I see... This is super frustrating then. My case is to have content like this:
And I expected the content of the element to be parsed as markdown. Is there any doc mentioning the new line wrapper? For editors, this can bring a lot of bugs as I guess this is not a natural way of writing templates. |
Subject of the issue
"<" in Markdown Code element is producing an error. Whenever the HTML element has a nested Markdown CODE, it is failing if it contains "<" Mark.
Your environment
MDX Playground
https://mdxjs.com/playground/
Steps to reproduce
Paste in playground:
Expected behaviour
No error, it should render just fine
Actual behaviour
The text was updated successfully, but these errors were encountered: