Add client side syntax highlighting support
Added client side syntax highlighting support in addition to existing server side syntax highlighting support. Updated readme and sample to reflect both types of highlighting.
This commit is contained in:
parent
2f1a27dc95
commit
938766f54f
7 changed files with 36 additions and 4 deletions
|
|
@ -117,5 +117,9 @@
|
|||
<script src="{{ .Site.BaseURL }}/js/jquery-1.11.2.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/bootstrap.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/main.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}js/highlight.min.js"></script>
|
||||
<script>
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue