In markdown, you can use single backticks (`) for inline code `like this`.
This applies to things like:
For whole blocks of code, you can use triple backticks (```):
```
like this!
```
For inline code snippets, you can use single backticks (`like this`):
In Google Docs, you'll have to manually apply a monospace font, such as Consolas.
{code}
for code blocks{{foo}}
for inline textDevelopers are used to reading code in a monospace font - this is the standard in IDEs and terminals. Reading code in a non-monospace font is often harder to parse, and look jarring.