Skip to content

Escape hatch for not wrapping line in paragraph? #2573

Discussion options

You must be logged in to vote

I recently answered this on StackOverflow.

TL;DR use a JSX expression:

{
  <a href="">
    Link
  </a>
}

Also Prettier doesn’t support MDX 3. I recommend adding *.mdx to .prettierignore for now.

Replies: 1 comment 1 reply

Comment options

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

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