is a fenced code block meant to become a <pre><code> block? #2415
Replies: 2 comments
-
Your wrong. Every tool does this. And its in the markdown spec. The code element is for code. |
Beta Was this translation helpful? Give feedback.
-
Welcome @Southclaws! 👋 mdx, remark, and most markdown parsers follow CommonMark (https://commonmark.org/). Styling is the way to go. If you want/need to change the output structure rather than styling. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
surely it should just be <pre> I've never seen <code> nested within, now I've gotta mess around with styles that only affect a lone <code> separate from one inside a <pre>
Beta Was this translation helpful? Give feedback.
All reactions