migrate syntax highlight to js bundle
This commit is contained in:
parent
55c400075c
commit
fbafe4f671
6 changed files with 10 additions and 13 deletions
|
@ -192,11 +192,6 @@
|
|||
{{ end }}
|
||||
|
||||
{{ define "scripts" }}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script>
|
||||
<script>
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
|
||||
<!-------------- Enable Math support for this page ---------------->
|
||||
{{ if .Params.math }}
|
||||
{{ partial "math.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue