index.js 1.6 KB

1234567891011121314151617181920212223242526272829
  1. var hljs = require('./highlight');
  2. hljs.registerLanguage('bash', require('./languages/bash'));
  3. hljs.registerLanguage('coffeescript', require('./languages/coffeescript'));
  4. hljs.registerLanguage('css', require('./languages/css'));
  5. hljs.registerLanguage('dns', require('./languages/dns'));
  6. hljs.registerLanguage('dos', require('./languages/dos'));
  7. hljs.registerLanguage('erlang', require('./languages/erlang'));
  8. hljs.registerLanguage('go', require('./languages/go'));
  9. hljs.registerLanguage('htmlbars', require('./languages/htmlbars'));
  10. hljs.registerLanguage('http', require('./languages/http'));
  11. hljs.registerLanguage('java', require('./languages/java'));
  12. hljs.registerLanguage('javascript', require('./languages/javascript'));
  13. hljs.registerLanguage('json', require('./languages/json'));
  14. hljs.registerLanguage('less', require('./languages/less'));
  15. hljs.registerLanguage('makefile', require('./languages/makefile'));
  16. hljs.registerLanguage('markdown', require('./languages/markdown'));
  17. hljs.registerLanguage('nginx', require('./languages/nginx'));
  18. hljs.registerLanguage('php', require('./languages/php'));
  19. hljs.registerLanguage('powershell', require('./languages/powershell'));
  20. hljs.registerLanguage('python', require('./languages/python'));
  21. hljs.registerLanguage('ruby', require('./languages/ruby'));
  22. hljs.registerLanguage('scss', require('./languages/scss'));
  23. hljs.registerLanguage('shell', require('./languages/shell'));
  24. hljs.registerLanguage('sql', require('./languages/sql'));
  25. hljs.registerLanguage('swift', require('./languages/swift'));
  26. hljs.registerLanguage('typescript', require('./languages/typescript'));
  27. module.exports = hljs;