emichael / texthings

Tex All the Things: Chrome extension which typesets LaTeX in webpages using MathJax
https://chrome.google.com/webstore/detail/cbimabofgmfdkicghcadidpemeenbffn
GNU General Public License v3.0
77 stars 10 forks source link

Telegram compatibility (add ignoreClass filter) #35

Closed galashin closed 2 years ago

galashin commented 3 years ago

Me and my coauthor have been trying to get LaTeX to work with Telegram. Unfortunately, all elements on https://web.telegram.org/ are div's (and of course it is very annoying and buggy when it renders LaTeX live as I type the message). So I just tweaked pageScript.js a little bit by adding the ignoreClass: ["composer_rich_textarea"] line to tex2jax. In general, it would be very useful to add class selectors to the settings page.

emichael commented 2 years ago

Fixed by #36.