thisiscam / math-with-slack

Rendered math (MathJax) with Slack's desktop client
MIT License
306 stars 28 forks source link

Install mathjax from local file #26

Closed melsophos closed 2 years ago

melsophos commented 2 years ago

It would be useful that --mathjax-url could accept also a local path to avoid downloading mathjax. The reason is that when having a snap version of Slack, it is necessary to reinject mathjax after every reboot.

thisiscam commented 2 years ago

I updated the script to address your request.

Let me know if it works for you? The local path needs to point to the tgz file you download from registry.npmjs.org

melsophos commented 2 years ago

It works well, thanks a lot!