Skip to content

Commit

Permalink
Update test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
yhatt committed Dec 24, 2024
1 parent 73ba4f3 commit 6b10416
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
40 changes: 20 additions & 20 deletions test/__snapshots__/marp.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@

exports[`Marp math option with KaTeX injects KaTeX css with replacing web font URL to CDN: katex-css-cdn 1`] = `
[
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_AMS-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_AMS-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_AMS-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Caligraphic-Bold.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Caligraphic-Bold.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Caligraphic-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Caligraphic-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Caligraphic-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Caligraphic-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Fraktur-Bold.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Fraktur-Bold.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Fraktur-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Fraktur-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Fraktur-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Fraktur-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Main-Bold.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Main-Bold.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Main-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Main-BoldItalic.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Main-BoldItalic.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Main-BoldItalic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Main-Italic.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Main-Italic.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Main-Italic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Main-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Main-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Main-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Math-BoldItalic.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Math-BoldItalic.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Math-BoldItalic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Math-Italic.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Math-Italic.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Math-Italic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_SansSerif-Bold.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_SansSerif-Bold.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_SansSerif-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_SansSerif-Italic.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_SansSerif-Italic.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_SansSerif-Italic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_SansSerif-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_SansSerif-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_SansSerif-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Script-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Script-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Script-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Size1-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Size1-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Size1-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Size2-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Size2-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Size2-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Size3-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Size3-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Size3-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Size4-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Size4-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Size4-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Typewriter-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Typewriter-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].11/dist/fonts/KaTeX_Typewriter-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_AMS-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_AMS-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_AMS-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Caligraphic-Bold.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Caligraphic-Bold.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Caligraphic-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Caligraphic-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Caligraphic-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Caligraphic-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Fraktur-Bold.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Fraktur-Bold.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Fraktur-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Fraktur-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Fraktur-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Fraktur-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Main-Bold.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Main-Bold.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Main-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Main-BoldItalic.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Main-BoldItalic.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Main-BoldItalic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Main-Italic.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Main-Italic.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Main-Italic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Main-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Main-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Main-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Math-BoldItalic.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Math-BoldItalic.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Math-BoldItalic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Math-Italic.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Math-Italic.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Math-Italic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_SansSerif-Bold.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_SansSerif-Bold.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_SansSerif-Bold.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_SansSerif-Italic.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_SansSerif-Italic.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_SansSerif-Italic.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_SansSerif-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_SansSerif-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_SansSerif-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Script-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Script-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Script-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Size1-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Size1-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Size1-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Size2-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Size2-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Size2-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Size3-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Size3-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Size3-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Size4-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Size4-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Size4-Regular.ttf') format("truetype")",
"url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Typewriter-Regular.woff2') format("woff2"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Typewriter-Regular.woff') format("woff"), url('https://cdn.jsdelivr.net/npm/[email protected].18/dist/fonts/KaTeX_Typewriter-Regular.ttf') format("truetype")",
]
`;

Expand Down
2 changes: 1 addition & 1 deletion test/marp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ function matchwo(a,b)

expect(instance.highlightjs.highlight).toBeInstanceOf(Function)
expect(instance.highlightjs.versionString).toMatchInlineSnapshot(
`"11.10.0"`,
`"11.11.0"`,
)
})

Expand Down

0 comments on commit 6b10416

Please sign in to comment.