Source code formatting
Written by
Updated at March 13, 2024
Old editor
-
To highlight a source code snippet, such as a function name, in the text, wrap it in back quotes (
-
To format multiple source code lines, paste three back quotes (
```
) in the row preceding the code block and the row following the code block.
For example:
-
Function `exit()`
See the result
-
Start of a code snippet
See the result