I tried building something similar to your product a couple years ago, but found CodeMirror syntax highlighting lacking since you couldn't style multiple lines which seemed like a must for Markdown.
E.g. try setex headers:
Header
======
Only the ===== are styled as a header in Markdownify. Did you manage to solve it in Storytella? (too lazy to sign up and check myself, sorry.)