Run the formatter as you type on the current paragraph

Fixes #5
Can you add a doc as to why we need to do this on input and not keypress?