Fix code block formatting

Use the proper GFM-syntax for marking code blocks, and explicitly defined them as C code.