projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b81ebf2
)
Make highlight.js example clearer
author
Kartik Singhal
<kartiksinghal@gmail.com>
Tue, 23 Sep 2014 14:09:40 +0000
(19:39 +0530)
committer
spf13
<steve.francia@gmail.com>
Wed, 24 Sep 2014 18:56:44 +0000
(14:56 -0400)
Provide the missing step to actually use the library. Should be helpful for a newbie.
docs/content/extras/highlighting.md
patch
|
blob
|
history
diff --git
a/docs/content/extras/highlighting.md
b/docs/content/extras/highlighting.md
index 7c5ce3fa3c8c59aa7539ef59bc8245329e1039bd..a90a72451a3f334d623486448542a229621bbe5b 100644
(file)
--- a/
docs/content/extras/highlighting.md
+++ b/
docs/content/extras/highlighting.md
@@
-89,6
+89,7
@@
as `header.html` or `header.includes.html`. Simply add:
<link rel="stylesheet" href="https://yandex.st/highlightjs/8.0/styles/default.min.css">
<script src="https://yandex.st/highlightjs/8.0/highlight.min.js"></script>
+ <script>hljs.initHighlightingOnLoad();</script>
You can of course use your own copy of these files, typically in `./static/`.