Hey, I hope this is the right place to ask
From other articles here, I have gathered that to create a code block with custom syntax highlighting, I have to create a dedicated CodeBlock slice.
My slice has a langauge input & a RichText input with only code enabled. I am using Shiki to do the syntax highlighting.
If I syntax highlight the code wrapped in asText() it looses its multi-line formatting. How can I keep the lines and tabs but also pass it in as a string to shiki?