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

Workaround for reddit's formatting #3

Open emichael opened 10 years ago

emichael commented 10 years ago

Reddit thinks ^ means superscript and surrounds text in . This needs to recognize when ^ should have been in a $\LaTeX$ fragment and undo the markdown.

ysulyma commented 7 years ago

The officially sanctioned /r/math way around this is to enclose the code in backticks to protect special characters, but this also breaks TeX All The Things: it doesn't apply MathJax to things in <code> elements