hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 3060307085c948dd57b764b72b3d3997254e0791
parent b81ebf2adad55e916a0688c60de8b5dcd381c7f4
Author: Kartik Singhal <kartiksinghal@gmail.com>
Date:   Tue, 23 Sep 2014 19:39:40 +0530

Make highlight.js example clearer

Provide the missing step to actually use the library. Should be helpful for a newbie.

Diffstat:
Mdocs/content/extras/highlighting.md | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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/`.