From: Dan Allen Date: Mon, 6 Apr 2020 22:02:54 +0000 (-0600) Subject: remove fringe languages from highlight.js bundle to reduce size X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=131522a49f36c909f007c0f78825bb22ce70b5e0;p=eg-antora.git remove fringe languages from highlight.js bundle to reduce size --- diff --git a/src/js/vendor/highlight.bundle.js b/src/js/vendor/highlight.bundle.js index 18b28b4..62ddd01 100644 --- a/src/js/vendor/highlight.bundle.js +++ b/src/js/vendor/highlight.bundle.js @@ -2,7 +2,7 @@ 'use strict' var hljs = require('highlight.js/lib/highlight') - hljs.registerLanguage('apache', require('highlight.js/lib/languages/apache')) + //hljs.registerLanguage('apache', require('highlight.js/lib/languages/apache')) hljs.registerLanguage('asciidoc', require('highlight.js/lib/languages/asciidoc')) hljs.registerLanguage('bash', require('highlight.js/lib/languages/bash')) hljs.registerLanguage('clojure', require('highlight.js/lib/languages/clojure')) @@ -14,15 +14,15 @@ hljs.registerLanguage('go', require('highlight.js/lib/languages/go')) hljs.registerLanguage('groovy', require('highlight.js/lib/languages/groovy')) hljs.registerLanguage('haskell', require('highlight.js/lib/languages/haskell')) - hljs.registerLanguage('http', require('highlight.js/lib/languages/http')) - hljs.registerLanguage('ini', require('highlight.js/lib/languages/ini')) + //hljs.registerLanguage('http', require('highlight.js/lib/languages/http')) + //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')) + //hljs.registerLanguage('nginx', require('highlight.js/lib/languages/nginx')) hljs.registerLanguage('nix', require('highlight.js/lib/languages/nix')) hljs.registerLanguage('objectivec', require('highlight.js/lib/languages/objectivec')) hljs.registerLanguage('perl', require('highlight.js/lib/languages/perl'))