Mixed gfm/latex parsing in codemirror

Pending on https://github.com/marijnh/CodeMirror/commit/3f1a7bb2f901f65fd5c1d4992153ec1975373c5a

Closes #5135