mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Make highlight.js example clearer
Provide the missing step to actually use the library. Should be helpful for a newbie.
This commit is contained in:
parent
b81ebf2ada
commit
3060307085
1 changed files with 1 additions and 0 deletions
|
@ -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/`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue