diff --git a/src/export/fontEmbedder.ts b/src/export/fontEmbedder.ts
index bebb6e53..e523becf 100644
--- a/src/export/fontEmbedder.ts
+++ b/src/export/fontEmbedder.ts
@@ -49,7 +49,7 @@ export const KATEX_FONTS = [
] as const;
/** KaTeX CDN base URL */
-const KATEX_CDN_BASE = "https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/fonts";
+const KATEX_CDN_BASE = "https://cdn.jsdelivr.net/npm/katex@0.16.28/dist/fonts";
/** Font file to download */
export interface FontFile {
diff --git a/src/export/htmlTemplates.ts b/src/export/htmlTemplates.ts
index e04721ed..8885a025 100644
--- a/src/export/htmlTemplates.ts
+++ b/src/export/htmlTemplates.ts
@@ -48,7 +48,7 @@ export function generateIndexHtml(
const themeClass = isDark ? "dark-theme" : "";
const katexLink = includeKaTeX
- ? ``
+ ? ``
: "";
return `
@@ -102,7 +102,7 @@ export function generateStandaloneHtml(
const themeClass = isDark ? "dark-theme" : "";
const katexLink = includeKaTeX
- ? ``
+ ? ``
: "";
return `