diff options
author | Andreas Grunewald <agrunewald@vendasta.com> | 2016-08-25 02:13:21 +0300 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@protonmail.com> | 2016-08-25 15:05:34 +0300 |
commit | 6eff9e501534dfa952b059f446faf9eff097aef7 (patch) | |
tree | 2ed69fa9419a7d8ee100cb4e4b6c393150dbcba7 /docs | |
parent | 2fc05dad4e7bb576997fdf345aae98d73b6612c1 (diff) |
docs: Update highlight.js example to latest version
Highlight.js has evolved quite a bit since it this doc was written. Updating the example to the latest 9.6 version of Highlight JS hosted by cloudflare
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/extras/highlighting.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/extras/highlighting.md b/docs/content/extras/highlighting.md index 1efa9a0dc..7f7eef1e6 100644 --- a/docs/content/extras/highlighting.md +++ b/docs/content/extras/highlighting.md @@ -129,8 +129,8 @@ This example uses the popular [Highlight.js] library, hosted by [Yandex], a popu In your `./layouts/partials/` (or `./layouts/chrome/`) folder, depending on your specific theme, there will be a snippet that will be included in every generated HTML page, such as `header.html` or `header.includes.html`. Simply add the css and js to initialize [Highlight.js]: ~~~ -<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> +<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/styles/default.min.css"> +<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/highlight.min.js"></script> <script>hljs.initHighlightingOnLoad();</script> ~~~ |