markdown: math set by KaTeX, fetched only when a page has some

$x^2$ inline, $$…$$ for display, and a ```math block, the way GitHub
writes them, in documents, shared pages and .md files alike. KaTeX loads
on first use; until then the math shows as its source. Only the woff2
fonts are bundled.
This commit is contained in:
nvrl committed 2026-10-20 10:25:26 +02:00
1 parent 889f99f8d6
commit fc593e6452
9 files changed
+111 -6

No files matched your search

+1
View File
@@ -27,6 +27,7 @@
"@lezer/highlight": "^1.2.1",
"@replit/codemirror-vim": "^6.2.1",
"dompurify": "^3.2.4",
"katex": "^0.19.0",
"marked": "^15.0.6"
}
}