Post

I recently learned about Zensical from Zac's Metro project which migrated from MkDocs to zensical.org based site. I also tried to use it for my recent experimental project. Not having full Kotlin syntax highlighting was bothering me, so I applied client side shim to re-highlight using Shiki.

hossain.devBetter Kotlin syntax highlighting on Zensical with Shiki | Hossain's Dev BytesI replaced default Kotlin highlighting on my Zensical site with Shiki for cleaner tokens, better modern syntax support, and smooth light/dark theming.

The missing highlighting for Kotlin is also very subtle. The flipping of highlighted code is negligible unless you are really looking for it. If you know you just know, and if that bothers you, this is not for you! 🙃 At least it makes me happy! 😄 #Zensical #Shiki #SyntaxHighlighting

0 reposts0 likes

No replies yet.