Is there a way to render LaTEX/MathJax for Slack Chatting client (web or app)?

I have a workgroup that uses the Slack chatting app/website/destop version to communicate, and the desire to send usable mathematical expressions across to friends is something we'd like to do there. While it doesnt seem like there is any official implementation of LaTeX or a plugin for it there are many ways for DIY integration: enter image description here

I wanted to know how to get LaTeX rendering working on Slack, be it through integrations and/or customization of Slack and/or through web hooking. The only thing I'd prefer not to do is hook out to another website, make the render into a picture, and then hook it back into Slack.


I made a small script that installs MathJax in Slack's desktop client (basically the same solution as goatandsheep's, but with some Electron hacking). No server needed, supports both inline and display math, and equations can be edited.

https://github.com/fsavje/math-with-slack

Math in Slack


I've written a Tampermonkey / Greasemonkey script that you can install as an extension that will render it.

Edit: It's had trouble rendering on streams, since it compiles the content at page load. If someone knows how to do that, that would be awesome.

Edit: MathJax CDN has shut down.