Experimenting to replace $math$ with formulas inside CodeMirror