docs: Update highlight.js example to latest version
authorAndreas Grunewald <agrunewald@vendasta.com>
Wed, 24 Aug 2016 23:13:21 +0000 (16:13 -0700)
committerdigitalcraftsman <digitalcraftsman@protonmail.com>
Thu, 25 Aug 2016 12:05:34 +0000 (14:05 +0200)
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

docs/content/extras/highlighting.md

index 1efa9a0dcddfb4015ffbbfbb10954560cb14ee1e..7f7eef1e6c5254adc485f1ccdc03f6983bb76dc5 100644 (file)
@@ -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>
 ~~~