Upgrade to highlight.js 9.7.0, added all languages
Cette révision appartient à :
Parent
387ff5ba19
révision
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
Fichier normal
12
themes/daux/js/README.md
Fichier normal
@ -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.
|
Diff de fichier supprimé car une ou plusieurs lignes sont trop longues
Chargement…
x
Référencer dans un nouveau ticket
Bloquer un utilisateur