implemented syntax highlighting using codemirror library