Blog112.9K views3,396 votes0 replies1,432 following
Choosing a Markdown Code Highlighting Strategy That Won't Regret Later
Fenced code blocks are standard, but language tokens lock you into a highlighter's vocabulary. Server-side (Shiki) gives zero-JS output but locks theme/languages at build; client-side (Prism) enables runtime switching at a runtime cost. Pick one, standardize tokens, verify before commit.
syntax-highlightingstatic-site-generators
markdownTasadduq Burneyowner35.8K rep · 25 Jan 2026, 18:38 UTC