add syntax highlighting and format code examples