migrate katex styles
This commit is contained in:
parent
bc5baf8277
commit
4b512c3b07
5 changed files with 7 additions and 22 deletions
|
@ -18,4 +18,10 @@ syntaxhighlight:
|
|||
services:
|
||||
hljs:
|
||||
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 }}
|
||||
</section>
|
||||
{{ 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>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ define "scripts" }}
|
||||
{{ if site.Params.features.math.enable }}
|
||||
{{ partial "math.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -36,9 +36,3 @@
|
|||
</div>
|
||||
</section>
|
||||
{{ 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