fix code blocks in documentation

I opted not to use fenced blocks, for consistency and compatibility