Showing code

Inline code

Write inline code like this: `inline code`

Example

this is some inline code

Multiline code

Use three backticks to start and end a code block, optionally specify the language after the first set of backticks for syntax highlighting.

```js
const a = 1;
const b = "this is a string";

console.log(b);
```

Example

const a = 1;
const b = "this is a string";

console.log(b);

Code highlighting

Add // [!code highlight] at the end of a line to highlight it

Example

const hello = "Hello world!";
console.log(hello);