This is such a good video. I tried using Shiki 2 weeks ago but I was unfamiliar with it and couldn't really figure out how I could utilize it to its fullest potential, and this video literally gave me everything I needed. Thank you.
In my experience, loading shiki is relatively slow (even with the fine-grained bundle), so I ended up writing an independent watch script that highlights particular files and then saves a map of all highlighted code within a $lib/ script. Great solution if you don't need to highlight anything on-the-fly
@@julienblanchon6082 a more generalized version of that script would take a list of files/directories to watch, use the filenames as the map keys, and then let the app sort out which highlights go where
the PR for Shiki Magic Move Svelte renderer was accepted :D And tbh, it's one of the very few highlighter that actually supports svelte! so yeah. Much love
I am not understanding how to do custom css. Has anyone a guide or some examples where I can see how to achieve this? I can only modify the syle from the transformers but when i try css i really don't know how to do it