adds syntax highlighting to code snippets