migrate katex styles
This commit is contained in:
parent
bc5baf8277
commit
4b512c3b07
5 changed files with 7 additions and 22 deletions
|
@ -19,3 +19,9 @@ syntaxhighlight:
|
||||||
hljs:
|
hljs:
|
||||||
styles:
|
styles:
|
||||||
- highlight.js/scss/atom-one-dark
|
- highlight.js/scss/atom-one-dark
|
||||||
|
|
||||||
|
math:
|
||||||
|
services:
|
||||||
|
katex:
|
||||||
|
styles:
|
||||||
|
- katex/dist/katex
|
|
@ -181,11 +181,3 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "scripts" }}
|
|
||||||
<!-------------- Enable Math support for this page ---------------->
|
|
||||||
{{ if site.Params.features.math.enable }}
|
|
||||||
{{ partial "math.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ end }}
|
|
||||||
|
|
|
@ -46,9 +46,3 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "scripts" }}
|
|
||||||
{{ if site.Params.features.math.enable }}
|
|
||||||
{{ partial "math.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
|
@ -36,9 +36,3 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "scripts" }}
|
|
||||||
{{ if site.Params.features.math.enable }}
|
|
||||||
{{ partial "math.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
<link rel="stylesheet" href="{{ "/katex/katex.min.css" | relURL }}">
|
|
Loading…
Add table
Add a link
Reference in a new issue