-
HTML comments are not supported by MDX, this will produce an error: <!-- an HTML comment --> MDX comments also don't seem to work for me: {/* this is a comment */} It renders like this: How do I add comments to |
Beta Was this translation helpful? Give feedback.
Answered by
slorber
Oct 8, 2020
Replies: 1 comment 1 reply
-
Hi, Afaik it will be in MDX 2.0. I don't know if it's provided at MDX level, Docusaurus level or site level, but on Docusaurus 2 website I know there are comments using this syntax:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
borekb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Afaik it will be in MDX 2.0.
I don't know if it's provided at MDX level, Docusaurus level or site level, but on Docusaurus 2 website I know there are comments using this syntax: