How do I put code blocks inside other elements? #218
Answered
by
icyrockcom
icyrockcom
asked this question in
Q&A
-
Sample:
Pasting this into the mdsvex playground, I get this error:
Rationale for this: I want to show two (or more) code blocks side-by-side for easy comparison. As an aside - what an awesome project you've built, thanks a lot! 👍 |
Beta Was this translation helpful? Give feedback.
Answered by
icyrockcom
Mar 25, 2021
Replies: 2 comments
-
Ah, leaving a blank line before the code block, i.e.:
solves the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pngwn
-
Yeah this requires new line at the minute. I actually have plans to address this limitation in a future version. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, leaving a blank line before the code block, i.e.:
solves the issue.