Switch to using code-block instead of raw html.

Also fix some mistakenly used entities.