add syntax highlighting for code snippets