Docs: Change eol-last examples to <pre>

Fixes #1068. Also added trailing whitespace example.
I figured that would be even more confusing - it wouldn't be clear if it was a real comment or not.