Docs: Change eol-last examples to <pre>

Fixes #1068. Also added trailing whitespace example.