Typo in the latex example in shortcuts and formatting help

fixed

#1

Steps to reproduce

Press ctrl+/ to open shortcuts and formatting.
look at the example for latex, $$E=mc^2$$

Expected result

$$E = mc^2$$

Actual result

$$E = mc_2$$

Environment

Windows 10

latest Windows App and Chrome


Additional information

This is trivial but I figured I’d point it out quickly.


Additional comments


#2

I can see it, fixing it right now. Thanks for pointing this out, Mark!


#3

Fixed, the issue should be gone with the next release.

Interestingly, it’s not a typo since we’ve never changed that piece of demo KaTeX. It’s actually caused by us recently updating to the latest version of KaTeX. Looks like they’ve had some internal changes :slight_smile:


#4

Weird, thanks for the fix!