add back syntax highlighting for diff
authorPierre Radermecker <pierrer@pi3r.be>
Tue, 15 Dec 2020 15:12:36 +0000 (16:12 +0100)
committerPierre Radermecker <pierrer@pi3r.be>
Tue, 15 Dec 2020 15:12:36 +0000 (16:12 +0100)
src/js/vendor/highlight.bundle.js

index cc06789..efa221d 100644 (file)
@@ -8,6 +8,7 @@
   hljs.registerLanguage('cpp', require('highlight.js/lib/languages/cpp'))
   hljs.registerLanguage('cs', require('highlight.js/lib/languages/cs'))
   hljs.registerLanguage('css', require('highlight.js/lib/languages/css'))
+  hljs.registerLanguage('diff', require('highlight.js/lib/languages/diff'))
   hljs.registerLanguage('dockerfile', require('highlight.js/lib/languages/dockerfile'))
   hljs.registerLanguage('elixir', require('highlight.js/lib/languages/elixir'))
   hljs.registerLanguage('go', require('highlight.js/lib/languages/go'))