New lines are ignored when using a custom pre
element with Shiki code highlighter
#1
Labels
bug
Something isn't working
pre
element with Shiki code highlighter
#1
When Svelte renders this:
Instead of this:
It removes lines and white spaces!
This is the result when using a custom
pre
element with Shiki:This is the result when using a custom
pre
element without Shiki:This is the result when using Shiki without a custom
pre
elements:UPDATE: When using
code
instead ofpre
, things work fine.The text was updated successfully, but these errors were encountered: