After tons and tons of googling, and almost giving up, I finally found out how to do two things:
- Add code snippets / blocks to WordPress posts with syntax highlighting
- How to indent lines
All of this without installing any plugins!
To begin the code snippet / block, use the following code:
And to indent, add the ASCII code for <tab> which is
The above code will be rendered as follows:
for x in y: print x