if it necessary to parse Markdown for every ```keyup``` event? perhaps doing so in the ```'.toggle-preview' '.click'```event would be sufficient.