enhance: add a font for markup MathML

Assisted-by: Copilot Coding Agent:GPT-5

Co-authored-by: bircni <75789103+bircni@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-09-30 11:57:35 +00:00
committed by GitHub
parent a273ee098c
commit 62e80124ce
3 changed files with 38 additions and 0 deletions
+10
View File
@@ -5,6 +5,16 @@
overflow-wrap: break-word;
}
@font-face {
font-family: NewComputerModernMath;
src: local("NewComputerModernMath"), url("../../fonts/NewCMMath-Book.woff2") format("woff2");
}
.markup math {
font-family: NewComputerModernMath, "Latin Modern Math", "STIX Two Math", "Cambria Math", math;
font-size-adjust: ex-height 0.52;
}
.markup > *:first-child {
margin-top: 0 !important;
}