When discussing about code, you might want to paste some code in. Here's how to get it formatted nicely.
- First, paste your code as regular text
- Then, select the whole code you have just pasted
- On the side, there will be a paragraph symbol (¶), click it
- Then press the quotation button, then select Code Block option
- Voila!
For inline code mentions, like variable names, quick one-liners interspersed with the rest of the text (like this: declare $i
), select the text then choose the {...} button. Like so: