chore(lib): update katex 0.15.3 -> 0.15.6

This commit is contained in:
Dillon
2022-05-25 23:33:36 +08:00
parent a73149864d
commit e4c20140fc
10 changed files with 16 additions and 16 deletions

View File

@@ -30,13 +30,13 @@ libFiles:
sharerJS: sharer.js@0.5.1/sharer.min.js sharerJS: sharer.js@0.5.1/sharer.min.js
# typeit@8.5.4 https://github.com/alexmacarthur/typeit # typeit@8.5.4 https://github.com/alexmacarthur/typeit
typeitJS: typeit@8.5.4/dist/index.umd.js typeitJS: typeit@8.5.4/dist/index.umd.js
# katex@0.15.3 https://katex.org/ # katex@0.15.6 https://katex.org/
katexCSS: katex@0.15.3/dist/katex.min.css katexCSS: katex@0.15.6/dist/katex.min.css
katexJS: katex@0.15.3/dist/katex.min.js katexJS: katex@0.15.6/dist/katex.min.js
katexAutoRenderJS: katex@0.15.3/dist/contrib/auto-render.min.js katexAutoRenderJS: katex@0.15.6/dist/contrib/auto-render.min.js
katexCopyTexCSS: katex@0.15.3/dist/contrib/copy-tex.min.css katexCopyTexCSS: katex@0.15.6/dist/contrib/copy-tex.min.css
katexCopyTexJS: katex@0.15.3/dist/contrib/copy-tex.min.js katexCopyTexJS: katex@0.15.6/dist/contrib/copy-tex.min.js
katexMhchemJS: katex@0.15.3/dist/contrib/mhchem.min.js katexMhchemJS: katex@0.15.6/dist/contrib/mhchem.min.js
# mermaid@9.1.0 https://github.com/mermaid-js/mermaid # mermaid@9.1.0 https://github.com/mermaid-js/mermaid
mermaidJS: mermaid@9.1.0/dist/mermaid.min.js mermaidJS: mermaid@9.1.0/dist/mermaid.min.js
# echarts@5.3.2 https://echarts.apache.org/ # echarts@5.3.2 https://echarts.apache.org/

View File

@@ -13,7 +13,7 @@ lightgallery@2.4.0 https://github.com/sachinchoolur/lightgallery
clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
sharer.js@0.4.0 https://github.com/ellisonleao/sharer.js sharer.js@0.4.0 https://github.com/ellisonleao/sharer.js
typeit@8.5.4 https://github.com/alexmacarthur/typeit typeit@8.5.4 https://github.com/alexmacarthur/typeit
katex@0.15.3 https://katex.org/ katex@0.15.6 https://katex.org/
mermaid@9.1.0 https://github.com/mermaid-js/mermaid mermaid@9.1.0 https://github.com/mermaid-js/mermaid
echarts@5.3.2 https://echarts.apache.org/ echarts@5.3.2 https://echarts.apache.org/
mapbox-gl@2.8.2 https://github.com/mapbox/mapbox-gl-js mapbox-gl@2.8.2 https://github.com/mapbox/mapbox-gl-js

View File

@@ -1 +1 @@
.katex,.katex-display{-webkit-user-select:all;-moz-user-select:all;user-select:all} .katex,.katex-display{-webkit-user-select:all;-moz-user-select:all;user-select:all}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -90,16 +90,16 @@
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/style.html" -}} {{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/style.html" -}}
{{- $source := $cdn.katexJS | default "lib/katex/katex.min.js" -}} {{- $source := $cdn.katexJS | default "lib/katex/katex.min.js" -}}
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}} {{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
{{- $source := $cdn.katexAutoRenderJS | default "lib/katex/auto-render.min.js" -}} {{- $source := $cdn.katexAutoRenderJS | default "lib/katex/contrib/auto-render.min.js" -}}
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}} {{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
{{- if $math.copyTex -}} {{- if $math.copyTex -}}
{{- $source := $cdn.katexCopyTexCSS | default "lib/katex/copy-tex.min.css" -}} {{- $source := $cdn.katexCopyTexCSS | default "lib/katex/contrib/copy-tex.min.css" -}}
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/style.html" -}} {{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/style.html" -}}
{{- $source := $cdn.katexCopyTexJS | default "lib/katex/copy-tex.min.js" -}} {{- $source := $cdn.katexCopyTexJS | default "lib/katex/contrib/copy-tex.min.js" -}}
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}} {{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
{{- end -}} {{- end -}}
{{- if $math.mhchem -}} {{- if $math.mhchem -}}
{{- $source := $cdn.katexMhchemJS | default "lib/katex/mhchem.min.js" -}} {{- $source := $cdn.katexMhchemJS | default "lib/katex/contrib/mhchem.min.js" -}}
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}} {{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
{{- end -}} {{- end -}}
{{- $delimiters := slice (dict "left" "$$" "right" "$$" "display" true) (dict "left" "\\[" "right" "\\]" "display" true) -}} {{- $delimiters := slice (dict "left" "$$" "right" "$$" "display" true) (dict "left" "\\[" "right" "\\]" "display" true) -}}