Commit Graph
1 Commits
Author SHA1 Message Date
Lauri Ojansivu 9486ea3d49 Highlight fenced code blocks in card text with highlight.js.
A fenced block with a known language is coloured by highlight.js; a block
with no or an unknown language stays plain, as before. Both sanitizer passes
keep only hljs-* and language-* classes, only on code and span inside pre,
through a hook added for that call; every other class is still removed.

Thanks to xet7 !
2026-09-29 15:52:01 +03:00