Comment on page
Code blocks
You can use UpNote to keep your library of code snippets or share them with others.

To insert a code block on Mac or Windows, simply type 3 backticks
```
or click the code block icon in the formatting bar.
Syntax highlighting is supported for a number of programming languages. To change the display language of your code:
- Right click on code block > Select
Language
- Select a programming language in the list
To wrap your code, go to
Settings
> Editor
> enable Wrap code
To insert a code block on iOS or Android, tap the
+
button in the formatting bar and select Code Block

To wrap your code, go to
Settings
> General
> enable Wrap code
Last modified 11mo ago