diff options
author | Florian Orben <florian.orben@gmail.com> | 2015-10-24 03:25:26 +0200 |
---|---|---|
committer | Florian Orben <florian.orben@gmail.com> | 2015-10-29 17:26:34 +0100 |
commit | 1e4510be3bb13c00583e14dbbcf99ade7a76c9bd (patch) | |
tree | 37dbba0913cee8cad56889271d36b4d66867d38c /web/react/utils/constants.jsx | |
parent | 6683a4aaab1ffbdc91eeeb3cdaab6dbfd9a1f946 (diff) | |
download | chat-1e4510be3bb13c00583e14dbbcf99ade7a76c9bd.tar.gz chat-1e4510be3bb13c00583e14dbbcf99ade7a76c9bd.tar.bz2 chat-1e4510be3bb13c00583e14dbbcf99ade7a76c9bd.zip |
highlight code in markdown blocks
Diffstat (limited to 'web/react/utils/constants.jsx')
-rw-r--r-- | web/react/utils/constants.jsx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx index 43d81d322..e65b7337f 100644 --- a/web/react/utils/constants.jsx +++ b/web/react/utils/constants.jsx @@ -318,5 +318,28 @@ module.exports = { ENTER: 13, ESCAPE: 27, SPACE: 32 + }, + HighlightedLanguages: { + diff: 'Diff', + apache: 'Apache', + makefile: 'Makefile', + http: 'HTTP', + json: 'JSON', + markdown: 'Markdown', + javascript: 'JavaScript', + css: 'CSS', + nginx: 'nginx', + objectivec: 'Objective-C', + python: 'Python', + xml: 'XML', + perl: 'Perl', + bash: 'Bash', + php: 'PHP', + coffeescript: 'CoffeeScript', + cs: 'C#', + cpp: 'C++', + sql: 'SQL', + go: 'Go', + ruby: 'Ruby' } }; |