KaTex Preview Update
When I preview math using KaTex (which I prefer over MathJax) I run into a problem. When I add a new block of math, wrapped in $ signs and save the preview works fine. However if I change anything in the block, KaTex will not render the block unless I remove it from the document, save without it and paste it in again. This behavior has been consistent over multiple files and a long timeframe (4 month maybe) for me. I attached a screencast to illustrate the issue.
- 2020-02-10_11.35.02.gif 6.92 MB
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 10 Feb, 2020 12:25 PM
Actually, you just need to make a change outside of the math block and save. Marked is inserting the “last edit” marker inside the block, which breaks the rendering. I’ll see if I can fix that.
- Brett
2 Posted by luca.schultz on 10 Feb, 2020 02:38 PM
Thank you for the quick response 👍
That helps already but a fix would still be awesome.
Cheers
Luca
Support Staff 3 Posted by Brett on 10 Feb, 2020 06:48 PM
Found a fix, it will be in the next update. Not sure about release
timing yet, but it'll be there soon!