3 ms·
Very nice! A bit of flickering as you type, though.
by corecoder 10y ago
Very nice! A bit of flickering as you type, though.
- mkalygin 10y agoThanks! I'm using MathJax for LaTeX support. This is how it processes LaTeX (with flickering). I have no idea how to improve this. Any clues? I would probably try to prerender Markdown+Latex and update with a small throttling. But I haven't found a way to do this with MathJax.
- corecoder 10y agoSo, my first hypothesis would be to have two divs, one showing the latest result of marked, the other (not visible) showing the current result of marked; in the Typeset callback you could then swap the two divs.
- mkalygin 10y agoThis sounds like a two frame buffers in a rendering pipeline, good idea. I'll try to implement this.