From 14cff7588fd1d88b6b503a410554344c5ba496d8 Mon Sep 17 00:00:00 2001 From: Florian Orben Date: Sat, 7 Nov 2015 02:22:39 +0100 Subject: 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 --- web/sass-files/sass/partials/_post.scss | 3 +++ 1 file changed, 3 insertions(+) (limited to 'web/sass-files/sass') diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss index 36f6f445e..20895e39c 100644 --- a/web/sass-files/sass/partials/_post.scss +++ b/web/sass-files/sass/partials/_post.scss @@ -496,6 +496,9 @@ body.ios { border-bottom-left-radius: 4px; @include opacity(.3); } + &.tex .katex-display { + text-align: left; + } code { white-space: pre; } -- cgit v1.2.3-1-g7c22