adding codemirror syntax highlighting to starting and ending html on slices