As the name suggests, multi-line code blocks can contain multiple lines of code.

This also applies if you have not yet closed the code block.

Single-line code blocks use a single backtick on either side, while multi-line code blocks use triple backticks.

Article image

Any emphasis styling included within a code block will be printed literally rather than being interpreted.

To apply styling effects, you gotta put the styling syntax outside of the code block.

The colours and the syntax required for those colours will vary between languages.

Article image

A list of known languages and examples of the colours they offer can be foundhere.

you’re free to apply programming-language-based colouring by specifying supported languages directly after the opening triple backticks.

Article image

Article image