Upgrade to highlight.js 9.7.0, added all languages

This commit is contained in:
Stéphane Goetz 2016-09-30 21:29:10 +02:00
parent 387ff5ba19
commit 5af481f1ab
3 changed files with 19 additions and 3 deletions

View File

@ -1,4 +1,6 @@
With the help of [highlight.js](https://highlightjs.org/) We can higlight more than 50 languages. With the help of [highlight.js](https://highlightjs.org/) We can highlight more than 150 languages.
To be precise, we support all languages supported by highlight.js `9.7.0`.
Here is a quick example : Here is a quick example :
@ -18,4 +20,4 @@ Here is a quick example :
<!-- here goes the rest of the page --> <!-- here goes the rest of the page -->
</body> </body>
[See the full list of supported languages in Daux.io](../02_Examples/Code_Highlighting.md) [See more examples of supported languages](../02_Examples/Code_Highlighting.md)

12
themes/daux/js/README.md Normal file
View File

@ -0,0 +1,12 @@
# Updating Highlight.js
This build of highlight.js contains all languages. to achieve this, go to : https://highlightjs.org/download/
And run the following snipped in the console:
```
$$("input[type=checkbox]").forEach(function(checkbox) { checkbox.checked=true; })
```
This will tick all boxes instead of doing it by hand.

File diff suppressed because one or more lines are too long