ripping the marked.js apart for markedit.js suited to contentEditable