/usr/lib/nodejs/highlight.js/index.js is in node-highlight.js 8.2+ds-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | var Highlight = require('./highlight');
var hljs = new Highlight();
hljs.registerLanguage('r', require('./languages/r.js'));
hljs.registerLanguage('avrasm', require('./languages/avrasm.js'));
hljs.registerLanguage('rib', require('./languages/rib.js'));
hljs.registerLanguage('xml', require('./languages/xml.js'));
hljs.registerLanguage('handlebars', require('./languages/handlebars.js'));
hljs.registerLanguage('swift', require('./languages/swift.js'));
hljs.registerLanguage('sql', require('./languages/sql.js'));
hljs.registerLanguage('dos', require('./languages/dos.js'));
hljs.registerLanguage('diff', require('./languages/diff.js'));
hljs.registerLanguage('coffeescript', require('./languages/coffeescript.js'));
hljs.registerLanguage('json', require('./languages/json.js'));
hljs.registerLanguage('vim', require('./languages/vim.js'));
hljs.registerLanguage('erlang-repl', require('./languages/erlang-repl.js'));
hljs.registerLanguage('scss', require('./languages/scss.js'));
hljs.registerLanguage('tex', require('./languages/tex.js'));
hljs.registerLanguage('q', require('./languages/q.js'));
hljs.registerLanguage('smalltalk', require('./languages/smalltalk.js'));
hljs.registerLanguage('elixir', require('./languages/elixir.js'));
hljs.registerLanguage('vala', require('./languages/vala.js'));
hljs.registerLanguage('nimrod', require('./languages/nimrod.js'));
hljs.registerLanguage('php', require('./languages/php.js'));
hljs.registerLanguage('python', require('./languages/python.js'));
hljs.registerLanguage('1c', require('./languages/1c.js'));
hljs.registerLanguage('asciidoc', require('./languages/asciidoc.js'));
hljs.registerLanguage('oxygene', require('./languages/oxygene.js'));
hljs.registerLanguage('glsl', require('./languages/glsl.js'));
hljs.registerLanguage('erlang', require('./languages/erlang.js'));
hljs.registerLanguage('javascript', require('./languages/javascript.js'));
hljs.registerLanguage('autohotkey', require('./languages/autohotkey.js'));
hljs.registerLanguage('cpp', require('./languages/cpp.js'));
hljs.registerLanguage('haxe', require('./languages/haxe.js'));
hljs.registerLanguage('typescript', require('./languages/typescript.js'));
hljs.registerLanguage('d', require('./languages/d.js'));
hljs.registerLanguage('scala', require('./languages/scala.js'));
hljs.registerLanguage('delphi', require('./languages/delphi.js'));
hljs.registerLanguage('ini', require('./languages/ini.js'));
hljs.registerLanguage('capnproto', require('./languages/capnproto.js'));
hljs.registerLanguage('profile', require('./languages/profile.js'));
hljs.registerLanguage('scilab', require('./languages/scilab.js'));
hljs.registerLanguage('vhdl', require('./languages/vhdl.js'));
hljs.registerLanguage('http', require('./languages/http.js'));
hljs.registerLanguage('django', require('./languages/django.js'));
hljs.registerLanguage('go', require('./languages/go.js'));
hljs.registerLanguage('dust', require('./languages/dust.js'));
hljs.registerLanguage('x86asm', require('./languages/x86asm.js'));
hljs.registerLanguage('cmake', require('./languages/cmake.js'));
hljs.registerLanguage('lisp', require('./languages/lisp.js'));
hljs.registerLanguage('applescript', require('./languages/applescript.js'));
hljs.registerLanguage('ocaml', require('./languages/ocaml.js'));
hljs.registerLanguage('brainfuck', require('./languages/brainfuck.js'));
hljs.registerLanguage('makefile', require('./languages/makefile.js'));
hljs.registerLanguage('thrift', require('./languages/thrift.js'));
hljs.registerLanguage('groovy', require('./languages/groovy.js'));
hljs.registerLanguage('gradle', require('./languages/gradle.js'));
hljs.registerLanguage('ruby', require('./languages/ruby.js'));
hljs.registerLanguage('haml', require('./languages/haml.js'));
hljs.registerLanguage('lasso', require('./languages/lasso.js'));
hljs.registerLanguage('css', require('./languages/css.js'));
hljs.registerLanguage('fix', require('./languages/fix.js'));
hljs.registerLanguage('cs', require('./languages/cs.js'));
hljs.registerLanguage('mizar', require('./languages/mizar.js'));
hljs.registerLanguage('markdown', require('./languages/markdown.js'));
hljs.registerLanguage('dart', require('./languages/dart.js'));
hljs.registerLanguage('java', require('./languages/java.js'));
hljs.registerLanguage('monkey', require('./languages/monkey.js'));
hljs.registerLanguage('nsis', require('./languages/nsis.js'));
hljs.registerLanguage('bash', require('./languages/bash.js'));
hljs.registerLanguage('parser3', require('./languages/parser3.js'));
hljs.registerLanguage('ruleslanguage', require('./languages/ruleslanguage.js'));
hljs.registerLanguage('gherkin', require('./languages/gherkin.js'));
hljs.registerLanguage('mel', require('./languages/mel.js'));
hljs.registerLanguage('nix', require('./languages/nix.js'));
hljs.registerLanguage('vbscript', require('./languages/vbscript.js'));
hljs.registerLanguage('gcode', require('./languages/gcode.js'));
hljs.registerLanguage('objectivec', require('./languages/objectivec.js'));
hljs.registerLanguage('scheme', require('./languages/scheme.js'));
hljs.registerLanguage('rsl', require('./languages/rsl.js'));
hljs.registerLanguage('livecodeserver', require('./languages/livecodeserver.js'));
hljs.registerLanguage('perl', require('./languages/perl.js'));
hljs.registerLanguage('mathematica', require('./languages/mathematica.js'));
hljs.registerLanguage('actionscript', require('./languages/actionscript.js'));
hljs.registerLanguage('clojure', require('./languages/clojure.js'));
hljs.registerLanguage('haskell', require('./languages/haskell.js'));
hljs.registerLanguage('fsharp', require('./languages/fsharp.js'));
hljs.registerLanguage('lua', require('./languages/lua.js'));
hljs.registerLanguage('protobuf', require('./languages/protobuf.js'));
hljs.registerLanguage('nginx', require('./languages/nginx.js'));
hljs.registerLanguage('rust', require('./languages/rust.js'));
hljs.registerLanguage('matlab', require('./languages/matlab.js'));
hljs.registerLanguage('apache', require('./languages/apache.js'));
hljs.registerLanguage('axapta', require('./languages/axapta.js'));
hljs.registerLanguage('vbnet', require('./languages/vbnet.js'));
module.exports = hljs;
|