Codeblocks not rendering correctly with MDsvex
I am trying to render markdown posts fetched from a git repo in my Svelte 4 webapp/blog.
The codeblocks seem to render wrapped in blocks as if the text was sanitised before rendering.
I wrote the markdown in obsidian and synced the repo with my github and am using that as my datastore
https://stackoverflow.com/questions/79814930/codeblocks-not-rendering-correctly-with-mdsvex
Stack Overflow
Codeblocks not rendering correctly with MDsvex
I am trying to render markdown posts fetched from a git repo in my Svelte 4 webapp/blog.
The codeblocks seem to render wrapped in {@html ` blocks as if the text was sanitised before rendering.
I w...

0 Replies