Surround code with a single set of backticks like this to add inline code:
This is
some code
.
This is
some code
.
Surround with sets of triple backticks like this to make code blocks:
if(true) { alert('hi') }
>
# ⇒
if(true) { alert('hi') }
Note that the triple backticks need to be on their own line...
> Some other text ```
if(true) {
alert('hi')
}
``` Some more text
>
# ⇒
# No code block :(