Docs: Change eol-last examples to <pre>

Fixes #1068. Also added trailing whitespace example.
Confusing. At least put // to make it a comment.