Upgrade to highlight.js 9.7.0, added all languages
This commit is contained in:
parent
387ff5ba19
commit
5af481f1ab
@ -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 :
|
||||
|
||||
@ -18,4 +20,4 @@ Here is a quick example :
|
||||
<!-- here goes the rest of the page -->
|
||||
</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
12
themes/daux/js/README.md
Normal 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
Loading…
Reference in New Issue
Block a user