add syntax highlighting for code snippet