Added code blocks

Without the :: the following indented text isn't viewed as a code block in
html documentation.
Merge pull request #3639 from evildmp/patch-2

Added code blocks