summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Girard <thomas.girard12@gmail.com>2018-03-15 16:30:26 +0000
committerThomas Girard <thomas.girard12@gmail.com>2018-03-15 16:30:26 +0000
commit2a1564589b053f255853b53c1c1ffb915e3d3c37 (patch)
treed3243a8f5ed569b5ac0d2f86be479afab7645749 /src
parent1d8a04125743e45c8396cd6ba277a8eb9344e4a0 (diff)
downloadalpine-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.js2
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'))