7 comments

[ 2.7 ms ] story [ 25.1 ms ] thread
Very nice! A bit of flickering as you type, though.
Thanks! 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.

So, 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.
This sounds like a two frame buffers in a rendering pipeline, good idea. I'll try to implement this.
$\pmatrix{1&0\\ 0&1}$ does not work.
Good catch. This works (3 slashes):

$\pmatrix{1&0 \\\ 0&1}$

I'll investigate this bug.

Awesome! Can't wait to try it out in a few months :)