diff options
author | Thomas Girard <thomas.girard12@gmail.com> | 2018-03-15 16:30:26 +0000 |
---|---|---|
committer | Thomas Girard <thomas.girard12@gmail.com> | 2018-03-15 16:30:26 +0000 |
commit | 2a1564589b053f255853b53c1c1ffb915e3d3c37 (patch) | |
tree | d3243a8f5ed569b5ac0d2f86be479afab7645749 /src | |
parent | 1d8a04125743e45c8396cd6ba277a8eb9344e4a0 (diff) | |
download | alpine-antora-theme-2a1564589b053f255853b53c1c1ffb915e3d3c37.tar.bz2 alpine-antora-theme-2a1564589b053f255853b53c1c1ffb915e3d3c37.tar.xz |
Enable Kotlin and Scala language support in highlight.js config
Diffstat (limited to 'src')
-rw-r--r-- | src/js/vendor/highlight.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/vendor/highlight.js b/src/js/vendor/highlight.js index e03124e..dab87a8 100644 --- a/src/js/vendor/highlight.js +++ b/src/js/vendor/highlight.js @@ -14,6 +14,7 @@ hljs.registerLanguage('ini', require('highlight.js/lib/languages/ini')) hljs.registerLanguage('java', require('highlight.js/lib/languages/java')) hljs.registerLanguage('javascript', require('highlight.js/lib/languages/javascript')) hljs.registerLanguage('json', require('highlight.js/lib/languages/json')) +hljs.registerLanguage('kotlin', require('highlight.js/lib/languages/kotlin')) hljs.registerLanguage('makefile', require('highlight.js/lib/languages/makefile')) hljs.registerLanguage('markdown', require('highlight.js/lib/languages/markdown')) hljs.registerLanguage('nginx', require('highlight.js/lib/languages/nginx')) @@ -23,6 +24,7 @@ hljs.registerLanguage('perl', require('highlight.js/lib/languages/perl')) hljs.registerLanguage('php', require('highlight.js/lib/languages/php')) hljs.registerLanguage('python', require('highlight.js/lib/languages/python')) hljs.registerLanguage('ruby', require('highlight.js/lib/languages/ruby')) +hljs.registerLanguage('scala', require('highlight.js/lib/languages/scala')) hljs.registerLanguage('shell', require('highlight.js/lib/languages/shell')) hljs.registerLanguage('sql', require('highlight.js/lib/languages/sql')) hljs.registerLanguage('xml', require('highlight.js/lib/languages/xml')) |