From 51543cf615186e348ff7d3778445fec3ee9f0733 Mon Sep 17 00:00:00 2001 From: Roman Shamritskiy Date: Mon, 24 Dec 2018 22:16:07 +0300 Subject: [PATCH] enable the Swift language highlight in code blocks --- src/js/vendor/highlight.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/vendor/highlight.js b/src/js/vendor/highlight.js index 8824245..0c751ae 100644 --- a/src/js/vendor/highlight.js +++ b/src/js/vendor/highlight.js @@ -28,5 +28,6 @@ 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('swift', require('highlight.js/lib/languages/swift')) hljs.registerLanguage('xml', require('highlight.js/lib/languages/xml')) hljs.registerLanguage('yaml', require('highlight.js/lib/languages/yaml')) -- 2.11.0