diff options
author | Florian Orben <florian.orben@gmail.com> | 2015-11-07 02:22:39 +0100 |
---|---|---|
committer | Florian Orben <florian.orben@gmail.com> | 2015-11-10 22:38:19 +0100 |
commit | 14cff7588fd1d88b6b503a410554344c5ba496d8 (patch) | |
tree | bee6e54b0d18e456406c3875a8a48374967c41d6 /web/templates/head.html | |
parent | 31387be90b9b7e4b7e6a55d05af3d858bef6680a (diff) | |
download | chat-14cff7588fd1d88b6b503a410554344c5ba496d8.tar.gz chat-14cff7588fd1d88b6b503a410554344c5ba496d8.tar.bz2 chat-14cff7588fd1d88b6b503a410554344c5ba496d8.zip |
Add latex support
Adds latex highlighting support via https://www.npmjs.com/package/katex
as requested in
https://mattermost.uservoice.com/forums/306457-general/suggestions/10160757-add-latex-support
Diffstat (limited to 'web/templates/head.html')
-rw-r--r-- | web/templates/head.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/templates/head.html b/web/templates/head.html index 2bbf921ee..30a83c4f2 100644 --- a/web/templates/head.html +++ b/web/templates/head.html @@ -24,6 +24,7 @@ <link rel="stylesheet" href="/static/css/bootstrap-colorpicker.min.css"> <link rel="stylesheet" href="/static/css/styles.css"> <link rel="stylesheet" href="/static/css/google-fonts.css"> + <link rel="stylesheet" href="/static/css/katex.min.css"> <link rel="stylesheet" class="code_theme" href=""> <link id="favicon" rel="icon" href="/static/images/favicon.ico" type="image/x-icon"> @@ -38,6 +39,7 @@ <script src="/static/js/perfect-scrollbar-0.6.7.jquery.min.js"></script> <script src="/static/js/jquery-dragster/jquery.dragster.js"></script> <script src="/static/js/babel-es6-polyfill.min.js"></script> + <script src="/static/js/katex.min.js"></script> <style id="antiClickjack">body{display:none !important;}</style> |