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-24 21:55:44 +0200 |
commit | 113741243bee612b9e65530e1827a0891d96474c (patch) | |
tree | 900618ad43865ee331da84c2b5f1681fbdae4547 /web/react/utils/constants.jsx | |
parent | dc439fd7e84d54a95f6c0ac2b51a21e634777436 (diff) | |
download | chat-113741243bee612b9e65530e1827a0891d96474c.tar.gz chat-113741243bee612b9e65530e1827a0891d96474c.tar.bz2 chat-113741243bee612b9e65530e1827a0891d96474c.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 72773bf05..1a1d7f39f 100644 --- a/web/react/utils/constants.jsx +++ b/web/react/utils/constants.jsx @@ -313,5 +313,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' } }; |