Skip to content

How to add html tags in mdx #2081

Answered by wooorm
maximecharriere asked this question in Q&A
Discussion options

You must be logged in to vote

MDX does not have HTML. It has JSX. They are similar, but not the same, and JSX can be used with the elements of HTML.

Use JSX syntax: <br />.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maximecharriere
Comment options

Answer selected by maximecharriere
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