add syntax highlighting to code samples

Still getting the hang of this GFM markdown stuff, but here goes…