Render LaTeX in Slack chat.
LaTeX in Slack Extension
Similar to the Chrome extension math-with-slackb, except this plugin uses
the KaTeX library instead of MathJax for better compatibility with the
latest version of Slack.
Usage instructions:
Mostly works like standard LaTeX.
Default delimiters are as follows (this avoids issues with dollar signs being used for other purposes):
Inline math:
\\( .. \\)
$$ .. $$
Display math:
\\[ .. \\]
$$$ .. $$$
Alternatively, in the options of the extension one can also choose to work with the usual LaTeX delimiters:
Inline math:
\\( .. \\)
$ .. $
Display math:
\\[ .. \\]
$$ .. $$
Newlines in formulas can be inserted with \
ewline. Double backslash \\\\ is ignored.
Blackboard bold letter shorthands:
\\R is short for \\mathbb{R}
\\N is short for \\mathbb{N}
\\Z is short for \\mathbb{Z}
Downloads:
Firefox: https://addons.mozilla.org/nl/firefox/addon/latex-in-slack/
Chrome: https://chrome.google.com/webstore/detail/latex-in-slack/pfcfelfnpbnboelkjedecjipaibpnfja
Troubleshooting:
1.
Slack uses _ for _italics_ and * for *boldface*. This can interfere with your LaTeX formatting if your message
has multiple underscores or asterisks in it.
The developers of Slack are not big on having a consistent way to escape these special characters, but you can try:
a) escaping using two backslashes: $$\\bar\\chi^{\\\\*}\\\\_W$$
A single backslash is interpreted by the LaTeX rendering library as part of a command, but two of them will be ignored.
b) putting spaces around it: $$\\bar\\chi^ * _ W$$
2.
Sometimes Slack does something funny to double space \" \" making the plugin unable to recognize a piece of LaTeX
that contains it, like $$\\R $$.
Plugin by Sophie Huiberts and Bento Natura (2019-2020).
Option to choose $/$$/$$$ delimiters added by Nicolas Boumal (2020).
Licenced under the MIT licence.
katex.js is taken straight from the KaTeX project, from the url
https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.js
as indicated by
https://katex.org/docs/browser.html
auto-render.js is adapted from the KaTeX project:
https://github.com/KaTeX/KaTeX/blob/master/contrib/auto-render/auto-render.js
This plugin is not associated with the KaTeX project
nor with Slack or Slack Technologies, Inc.
Source Manifest.json
Similar Extensions
TeX All the Things 3,000+ 102 ★ 70.04KiB
Math Anywhere 3,000+ 66 ★ 26.87KiB
QuickTeX 3,000+ 6 ★ 1.55MiB
math-with-slackb 3,000+ 0 ★ 3.59KiB
Google Scholar PDF Reader 3,000+ 373 ★ 3.22MiB
MathJax Plugin for Github 3,000+ 47 ★ 796KiB
Markdown Here 3,000+ 367 ★ 534KiB
Writefull for Overleaf 3,000+ 127 ★ 918KiB
Latex Math 3,000+ 2 ★ 7.46MiB
TeX Math Here 3,000+ 1 ★ 114KiB
LaTeX Editor 3,000+ 5 ★ 7.99MiB
Wikipedia with MathJax 3,000+ 57 ★ 47.86KiB
TeX for Gmail 3,000+ 358 ★ 154KiB
KaTeX Extenstions 3,000+ 0 ★ 44.23KiB
Paperpile Extension 3,000+ 184 ★ 9.25MiB
Mathpix Snip 3,000+ 19 ★ 1.96MiB
Overleaf textarea 3,000+ 110 ★ 75.91KiB
LaTeX in Discord 3,000+ 5 ★ 1.31MiB
ChatGPT Equation Renderer 3,000+ 27 ★ 167KiB
MathJax 3 Plugin for Github 3,000+ 6 ★ 2.05MiB
QuickLaTex 3,000+ 1 ★ 597KiB
ViewTeX 3,000+ 6 ★ 501KiB
Latex Math Equations for Google Chrome™ 3,000+ 50 ★ 808KiB
User reviews
Giorgia Tessari (ID: 000000b14170ab86) Voted 1 ★ - Updated 02/05/2021
Geoffrey Zhu (ID: 000000f146f0346d) Voted 4 ★ - Updated 10/28/2020