Code blocks (Sometimes called Code Fences) are useful for two reasons: one, the code is not compiled in your editor. Two, the code will in most cases have proper syntax highlighting.
To insert a code block use the ` (Found Under your escape key usually) followed by the programming language you want to use. For example:
```html
some code here
```