Update 18-snippets-cheat-sheet.html.md

Corrected all changes mentioned by @Gama11, plus some other improvements.
Now it looks beautiful :D