Write markdown, preview html, submit as a form