feat: render safe local media, MathML and Markdown anchors

This commit is contained in:
cflmy committed 2026-11-24 13:23:35 +08:00
1 parent 37291137eb
commit 07fa0d62a8
16 files changed
+1122 -67

No files matched your search

+12
View File
@@ -1370,3 +1370,15 @@
overflow-wrap: anywhere;
}
}
@font-face {
font-family: "Noto Sans Math";
src: url("__MATH_FONT__") format("truetype");
font-display: swap;
}
@layer typography {
.mq-document-image { max-inline-size: 100%; block-size: auto; }
.mq-heading-anchor { display: block; }
.mq-document math { font-family: "Noto Sans Math", math; }
}