Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/export/fontEmbedder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions src/export/htmlTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function generateIndexHtml(
const themeClass = isDark ? "dark-theme" : "";

const katexLink = includeKaTeX
? `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css" crossorigin="anonymous">`
? `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.28/dist/katex.min.css" crossorigin="anonymous">`
: "";

return `<!DOCTYPE html>
Expand Down Expand Up @@ -102,7 +102,7 @@ export function generateStandaloneHtml(
const themeClass = isDark ? "dark-theme" : "";

const katexLink = includeKaTeX
? `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css" crossorigin="anonymous">`
? `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.28/dist/katex.min.css" crossorigin="anonymous">`
: "";

return `<!DOCTYPE html>
Expand Down
Loading