index.js 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. var hljs = require('./highlight');
  2. hljs.registerLanguage('1c', require('./languages/1c'));
  3. hljs.registerLanguage('abnf', require('./languages/abnf'));
  4. hljs.registerLanguage('accesslog', require('./languages/accesslog'));
  5. hljs.registerLanguage('actionscript', require('./languages/actionscript'));
  6. hljs.registerLanguage('ada', require('./languages/ada'));
  7. hljs.registerLanguage('angelscript', require('./languages/angelscript'));
  8. hljs.registerLanguage('apache', require('./languages/apache'));
  9. hljs.registerLanguage('applescript', require('./languages/applescript'));
  10. hljs.registerLanguage('arcade', require('./languages/arcade'));
  11. hljs.registerLanguage('cpp', require('./languages/cpp'));
  12. hljs.registerLanguage('arduino', require('./languages/arduino'));
  13. hljs.registerLanguage('armasm', require('./languages/armasm'));
  14. hljs.registerLanguage('xml', require('./languages/xml'));
  15. hljs.registerLanguage('asciidoc', require('./languages/asciidoc'));
  16. hljs.registerLanguage('aspectj', require('./languages/aspectj'));
  17. hljs.registerLanguage('autohotkey', require('./languages/autohotkey'));
  18. hljs.registerLanguage('autoit', require('./languages/autoit'));
  19. hljs.registerLanguage('avrasm', require('./languages/avrasm'));
  20. hljs.registerLanguage('awk', require('./languages/awk'));
  21. hljs.registerLanguage('axapta', require('./languages/axapta'));
  22. hljs.registerLanguage('bash', require('./languages/bash'));
  23. hljs.registerLanguage('basic', require('./languages/basic'));
  24. hljs.registerLanguage('bnf', require('./languages/bnf'));
  25. hljs.registerLanguage('brainfuck', require('./languages/brainfuck'));
  26. hljs.registerLanguage('cal', require('./languages/cal'));
  27. hljs.registerLanguage('capnproto', require('./languages/capnproto'));
  28. hljs.registerLanguage('ceylon', require('./languages/ceylon'));
  29. hljs.registerLanguage('clean', require('./languages/clean'));
  30. hljs.registerLanguage('clojure', require('./languages/clojure'));
  31. hljs.registerLanguage('clojure-repl', require('./languages/clojure-repl'));
  32. hljs.registerLanguage('cmake', require('./languages/cmake'));
  33. hljs.registerLanguage('coffeescript', require('./languages/coffeescript'));
  34. hljs.registerLanguage('coq', require('./languages/coq'));
  35. hljs.registerLanguage('cos', require('./languages/cos'));
  36. hljs.registerLanguage('crmsh', require('./languages/crmsh'));
  37. hljs.registerLanguage('crystal', require('./languages/crystal'));
  38. hljs.registerLanguage('cs', require('./languages/cs'));
  39. hljs.registerLanguage('csp', require('./languages/csp'));
  40. hljs.registerLanguage('css', require('./languages/css'));
  41. hljs.registerLanguage('d', require('./languages/d'));
  42. hljs.registerLanguage('markdown', require('./languages/markdown'));
  43. hljs.registerLanguage('dart', require('./languages/dart'));
  44. hljs.registerLanguage('delphi', require('./languages/delphi'));
  45. hljs.registerLanguage('diff', require('./languages/diff'));
  46. hljs.registerLanguage('django', require('./languages/django'));
  47. hljs.registerLanguage('dns', require('./languages/dns'));
  48. hljs.registerLanguage('dockerfile', require('./languages/dockerfile'));
  49. hljs.registerLanguage('dos', require('./languages/dos'));
  50. hljs.registerLanguage('dsconfig', require('./languages/dsconfig'));
  51. hljs.registerLanguage('dts', require('./languages/dts'));
  52. hljs.registerLanguage('dust', require('./languages/dust'));
  53. hljs.registerLanguage('ebnf', require('./languages/ebnf'));
  54. hljs.registerLanguage('elixir', require('./languages/elixir'));
  55. hljs.registerLanguage('elm', require('./languages/elm'));
  56. hljs.registerLanguage('ruby', require('./languages/ruby'));
  57. hljs.registerLanguage('erb', require('./languages/erb'));
  58. hljs.registerLanguage('erlang-repl', require('./languages/erlang-repl'));
  59. hljs.registerLanguage('erlang', require('./languages/erlang'));
  60. hljs.registerLanguage('excel', require('./languages/excel'));
  61. hljs.registerLanguage('fix', require('./languages/fix'));
  62. hljs.registerLanguage('flix', require('./languages/flix'));
  63. hljs.registerLanguage('fortran', require('./languages/fortran'));
  64. hljs.registerLanguage('fsharp', require('./languages/fsharp'));
  65. hljs.registerLanguage('gams', require('./languages/gams'));
  66. hljs.registerLanguage('gauss', require('./languages/gauss'));
  67. hljs.registerLanguage('gcode', require('./languages/gcode'));
  68. hljs.registerLanguage('gherkin', require('./languages/gherkin'));
  69. hljs.registerLanguage('glsl', require('./languages/glsl'));
  70. hljs.registerLanguage('gml', require('./languages/gml'));
  71. hljs.registerLanguage('go', require('./languages/go'));
  72. hljs.registerLanguage('golo', require('./languages/golo'));
  73. hljs.registerLanguage('gradle', require('./languages/gradle'));
  74. hljs.registerLanguage('groovy', require('./languages/groovy'));
  75. hljs.registerLanguage('haml', require('./languages/haml'));
  76. hljs.registerLanguage('handlebars', require('./languages/handlebars'));
  77. hljs.registerLanguage('haskell', require('./languages/haskell'));
  78. hljs.registerLanguage('haxe', require('./languages/haxe'));
  79. hljs.registerLanguage('hsp', require('./languages/hsp'));
  80. hljs.registerLanguage('htmlbars', require('./languages/htmlbars'));
  81. hljs.registerLanguage('http', require('./languages/http'));
  82. hljs.registerLanguage('hy', require('./languages/hy'));
  83. hljs.registerLanguage('inform7', require('./languages/inform7'));
  84. hljs.registerLanguage('ini', require('./languages/ini'));
  85. hljs.registerLanguage('irpf90', require('./languages/irpf90'));
  86. hljs.registerLanguage('isbl', require('./languages/isbl'));
  87. hljs.registerLanguage('java', require('./languages/java'));
  88. hljs.registerLanguage('javascript', require('./languages/javascript'));
  89. hljs.registerLanguage('jboss-cli', require('./languages/jboss-cli'));
  90. hljs.registerLanguage('json', require('./languages/json'));
  91. hljs.registerLanguage('julia', require('./languages/julia'));
  92. hljs.registerLanguage('julia-repl', require('./languages/julia-repl'));
  93. hljs.registerLanguage('kotlin', require('./languages/kotlin'));
  94. hljs.registerLanguage('lasso', require('./languages/lasso'));
  95. hljs.registerLanguage('ldif', require('./languages/ldif'));
  96. hljs.registerLanguage('leaf', require('./languages/leaf'));
  97. hljs.registerLanguage('less', require('./languages/less'));
  98. hljs.registerLanguage('lisp', require('./languages/lisp'));
  99. hljs.registerLanguage('livecodeserver', require('./languages/livecodeserver'));
  100. hljs.registerLanguage('livescript', require('./languages/livescript'));
  101. hljs.registerLanguage('llvm', require('./languages/llvm'));
  102. hljs.registerLanguage('lsl', require('./languages/lsl'));
  103. hljs.registerLanguage('lua', require('./languages/lua'));
  104. hljs.registerLanguage('makefile', require('./languages/makefile'));
  105. hljs.registerLanguage('mathematica', require('./languages/mathematica'));
  106. hljs.registerLanguage('matlab', require('./languages/matlab'));
  107. hljs.registerLanguage('maxima', require('./languages/maxima'));
  108. hljs.registerLanguage('mel', require('./languages/mel'));
  109. hljs.registerLanguage('mercury', require('./languages/mercury'));
  110. hljs.registerLanguage('mipsasm', require('./languages/mipsasm'));
  111. hljs.registerLanguage('mizar', require('./languages/mizar'));
  112. hljs.registerLanguage('perl', require('./languages/perl'));
  113. hljs.registerLanguage('mojolicious', require('./languages/mojolicious'));
  114. hljs.registerLanguage('monkey', require('./languages/monkey'));
  115. hljs.registerLanguage('moonscript', require('./languages/moonscript'));
  116. hljs.registerLanguage('n1ql', require('./languages/n1ql'));
  117. hljs.registerLanguage('nginx', require('./languages/nginx'));
  118. hljs.registerLanguage('nimrod', require('./languages/nimrod'));
  119. hljs.registerLanguage('nix', require('./languages/nix'));
  120. hljs.registerLanguage('nsis', require('./languages/nsis'));
  121. hljs.registerLanguage('objectivec', require('./languages/objectivec'));
  122. hljs.registerLanguage('ocaml', require('./languages/ocaml'));
  123. hljs.registerLanguage('openscad', require('./languages/openscad'));
  124. hljs.registerLanguage('oxygene', require('./languages/oxygene'));
  125. hljs.registerLanguage('parser3', require('./languages/parser3'));
  126. hljs.registerLanguage('pf', require('./languages/pf'));
  127. hljs.registerLanguage('pgsql', require('./languages/pgsql'));
  128. hljs.registerLanguage('php', require('./languages/php'));
  129. hljs.registerLanguage('plaintext', require('./languages/plaintext'));
  130. hljs.registerLanguage('pony', require('./languages/pony'));
  131. hljs.registerLanguage('powershell', require('./languages/powershell'));
  132. hljs.registerLanguage('processing', require('./languages/processing'));
  133. hljs.registerLanguage('profile', require('./languages/profile'));
  134. hljs.registerLanguage('prolog', require('./languages/prolog'));
  135. hljs.registerLanguage('properties', require('./languages/properties'));
  136. hljs.registerLanguage('protobuf', require('./languages/protobuf'));
  137. hljs.registerLanguage('puppet', require('./languages/puppet'));
  138. hljs.registerLanguage('purebasic', require('./languages/purebasic'));
  139. hljs.registerLanguage('python', require('./languages/python'));
  140. hljs.registerLanguage('q', require('./languages/q'));
  141. hljs.registerLanguage('qml', require('./languages/qml'));
  142. hljs.registerLanguage('r', require('./languages/r'));
  143. hljs.registerLanguage('reasonml', require('./languages/reasonml'));
  144. hljs.registerLanguage('rib', require('./languages/rib'));
  145. hljs.registerLanguage('roboconf', require('./languages/roboconf'));
  146. hljs.registerLanguage('routeros', require('./languages/routeros'));
  147. hljs.registerLanguage('rsl', require('./languages/rsl'));
  148. hljs.registerLanguage('ruleslanguage', require('./languages/ruleslanguage'));
  149. hljs.registerLanguage('rust', require('./languages/rust'));
  150. hljs.registerLanguage('sas', require('./languages/sas'));
  151. hljs.registerLanguage('scala', require('./languages/scala'));
  152. hljs.registerLanguage('scheme', require('./languages/scheme'));
  153. hljs.registerLanguage('scilab', require('./languages/scilab'));
  154. hljs.registerLanguage('scss', require('./languages/scss'));
  155. hljs.registerLanguage('shell', require('./languages/shell'));
  156. hljs.registerLanguage('smali', require('./languages/smali'));
  157. hljs.registerLanguage('smalltalk', require('./languages/smalltalk'));
  158. hljs.registerLanguage('sml', require('./languages/sml'));
  159. hljs.registerLanguage('sqf', require('./languages/sqf'));
  160. hljs.registerLanguage('sql', require('./languages/sql'));
  161. hljs.registerLanguage('stan', require('./languages/stan'));
  162. hljs.registerLanguage('stata', require('./languages/stata'));
  163. hljs.registerLanguage('step21', require('./languages/step21'));
  164. hljs.registerLanguage('stylus', require('./languages/stylus'));
  165. hljs.registerLanguage('subunit', require('./languages/subunit'));
  166. hljs.registerLanguage('swift', require('./languages/swift'));
  167. hljs.registerLanguage('taggerscript', require('./languages/taggerscript'));
  168. hljs.registerLanguage('yaml', require('./languages/yaml'));
  169. hljs.registerLanguage('tap', require('./languages/tap'));
  170. hljs.registerLanguage('tcl', require('./languages/tcl'));
  171. hljs.registerLanguage('tex', require('./languages/tex'));
  172. hljs.registerLanguage('thrift', require('./languages/thrift'));
  173. hljs.registerLanguage('tp', require('./languages/tp'));
  174. hljs.registerLanguage('twig', require('./languages/twig'));
  175. hljs.registerLanguage('typescript', require('./languages/typescript'));
  176. hljs.registerLanguage('vala', require('./languages/vala'));
  177. hljs.registerLanguage('vbnet', require('./languages/vbnet'));
  178. hljs.registerLanguage('vbscript', require('./languages/vbscript'));
  179. hljs.registerLanguage('vbscript-html', require('./languages/vbscript-html'));
  180. hljs.registerLanguage('verilog', require('./languages/verilog'));
  181. hljs.registerLanguage('vhdl', require('./languages/vhdl'));
  182. hljs.registerLanguage('vim', require('./languages/vim'));
  183. hljs.registerLanguage('x86asm', require('./languages/x86asm'));
  184. hljs.registerLanguage('xl', require('./languages/xl'));
  185. hljs.registerLanguage('xquery', require('./languages/xquery'));
  186. hljs.registerLanguage('zephir', require('./languages/zephir'));
  187. module.exports = hljs;