23 codemirror integration

Implementation of #23
There are no tests for this feature yet. I'll create them in a new branch.