-
I'm bashing my head against docusaurus. Basically I'd like to build a form where you enter some inputs and below it renders a
You can paste it in the playground and see, that the What should I do here? Is wrapping it like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
What you see for the regular pre is how mdx interleaves: nicely. You can put nlthings in it. It follows markdown What you see with the early pre is how javascript and jsx work. Those braces enter javascript. Theres no markdown in there. If you'd use js(x) in TS or Babel or Esbuild or whatever, it'll be the exact same. |
Beta Was this translation helpful? Give feedback.
What you see for the regular pre is how mdx interleaves: nicely. You can put nlthings in it. It follows markdown
What you see with the early pre is how javascript and jsx work. Those braces enter javascript. Theres no markdown in there. If you'd use js(x) in TS or Babel or Esbuild or whatever, it'll be the exact same.
So: how do you solve this in js(x)? With
{'\n'}
.