You can create code blocks with e.g. source code examples.
function helloWorld() {
alert("Hello world");
}
Code blocks don't support syntax highlighting. An alternative to code block is a code note - see e.g. Steel Blue theme defined as CSS code block.