It's supposed to be a single paragraph but it adds the new line 🤷. So was wondering if there was a formatter specific to MDX.
","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"I recommend remark-cli
with remark-mdx
. That’s why I used everywhere, including in this monorepo. I also have my own preset with a bunch of strict style stuff, remark-preset-wooorm
Recommended formatter? #2067
-
Currently using prettier@2.7.1, but it formats this text block incorrectly
It's supposed to be a single paragraph but it adds the new line 🤷. So was wondering if there was a formatter specific to MDX. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
I recommend |
Beta Was this translation helpful? Give feedback.
I recommend
remark-cli
withremark-mdx
. That’s why I used everywhere, including in this monorepo. I also have my own preset with a bunch of strict style stuff,remark-preset-wooorm