Skip to content

Commit

Permalink
Update mermaid to 8.4.8, move KaTeX to static folder
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-shpak committed Mar 23, 2020
1 parent 61b13ba commit 976f619
Show file tree
Hide file tree
Showing 65 changed files with 41 additions and 9 deletions.
7 changes: 3 additions & 4 deletions layouts/shortcodes/katex.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{{ if not (.Page.Scratch.Get "katex") }}
<!-- Include katext only first time -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous"
onload="renderMathInElement(document.body);"></script>
<link rel="stylesheet" href="{{ "katex/katex.min.css" | relURL }}">
<script defer src="{{ "katex/katex.min.js" | relURL }}"></script>
<script defer src="{{ "katex/auto-render.min.js" | relURL }}" onload="renderMathInElement(document.body);"></script>
{{ .Page.Scratch.Set "katex" true }}
{{ end }}

Expand Down
1 change: 1 addition & 0 deletions static/katex/auto-render.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added static/katex/fonts/KaTeX_AMS-Regular.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_AMS-Regular.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_AMS-Regular.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Caligraphic-Bold.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Caligraphic-Bold.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Caligraphic-Bold.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Caligraphic-Regular.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Caligraphic-Regular.woff
Binary file not shown.
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Fraktur-Bold.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Fraktur-Bold.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Fraktur-Bold.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Fraktur-Regular.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Fraktur-Regular.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Fraktur-Regular.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Main-Bold.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Main-Bold.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Main-Bold.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Main-BoldItalic.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Main-BoldItalic.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Main-BoldItalic.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Main-Italic.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Main-Italic.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Main-Italic.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Main-Regular.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Main-Regular.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Main-Regular.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Math-BoldItalic.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Math-BoldItalic.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Math-BoldItalic.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Math-Italic.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Math-Italic.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Math-Italic.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_SansSerif-Bold.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_SansSerif-Bold.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_SansSerif-Bold.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_SansSerif-Italic.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_SansSerif-Italic.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_SansSerif-Italic.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_SansSerif-Regular.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_SansSerif-Regular.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_SansSerif-Regular.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Script-Regular.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Script-Regular.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Script-Regular.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Size1-Regular.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Size1-Regular.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Size1-Regular.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Size2-Regular.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Size2-Regular.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Size2-Regular.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Size3-Regular.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Size3-Regular.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Size3-Regular.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Size4-Regular.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Size4-Regular.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Size4-Regular.woff2
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Typewriter-Regular.ttf
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Typewriter-Regular.woff
Binary file not shown.
Binary file added static/katex/fonts/KaTeX_Typewriter-Regular.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions static/katex/katex.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/katex/katex.min.js

Large diffs are not rendered by default.

40 changes: 35 additions & 5 deletions static/mermaid.min.js

Large diffs are not rendered by default.

0 comments on commit 976f619

Please sign in to comment.