Skip to content

Commit

Permalink
fix(image-renderer): update CDN links for KaTeX and Mermaid
Browse files Browse the repository at this point in the history
- Update KaTeX CDN link to version 0.16.9
- Update Mermaid CDN link to version 11.4.1
- Update default background image
  • Loading branch information
dingyi222666 committed Dec 2, 2024
1 parent 78ff1f3 commit 3690496
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified packages/image-renderer/resources/background/default.webp
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/image-renderer/resources/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" href="css/markdown.css" />
<link rel="stylesheet" href="css/code.css" />

<link rel="stylesheet" href="https://cdn.bootcss.com/KaTeX/0.16.11/katex.min.css" />
<link rel="stylesheet" href="https://use.sevencdn.com/ajax/libs/KaTeX/0.16.9/katex.min.css" />
<style>
:root {
--border-radius: 12px;
Expand Down Expand Up @@ -122,7 +122,7 @@

</div>
<script type="module">
import mermaid from 'https://cdn.staticfile.net/mermaid/11.0.0-alpha.6/mermaid.esm.min.mjs';
import mermaid from 'https://use.sevencdn.com/ajax/libs/mermaid/11.4.1/mermaid.esm.min.mjs';
</script>
<script>
// 设置背景和模糊效果
Expand Down

0 comments on commit 3690496

Please sign in to comment.