Code Block
You can add code examples to an article as a block or inline.
Code block: start on a new line, click the code icon. Insert the code into the displayed block and select the language to enable syntax highlighting.

Inline code: highlight the line, then click the code icon in the additional panel.