create a directive for codemirror