Closed eval closed 1 month ago
Hey @eval 👋
Thank you for reporting; however, I don't experience the bug you describe.
Could you share the post (or the faulty part) that provokes the issue?
Thanks for checking @frankie567 It's seems to be specifically for clojure code blocks e.g. from this post: https://polar.sh/eval/posts/named-capturing-groups-in-clojure.
So the code in the post looks differently than before, and in preview mode no highlighting is visible...
Ah ok, I understand now :) We're using a light bundle of Shiki for client-side highlighting, which probably doesn't embed Clojure. The post page is server-side rendered so we're able to load languages on demand — that's why it works there.
I'll see what I can do 👍
A markdown code block won't have syntax highlighting when previewing a post. For published articles it's shown correctly.