Docs / Text Editor / Code block
TEXT EDITOR Guide 2 of 11

Code block

A code block keeps code readable: monospace, highlighted, with a copy button.

Matches the live app1 min readUpdated Oct 27, 2026

01Add a code block#

Type / and pick Code Block, then paste or type your code.

02Pick the language#

Use the picker at the top right of the block, for example JavaScript, Python, HTML, CSS, JSON, SQL, Shell or YAML. None leaves it plain.

03Copy it#

Click the copy button next to the picker.

In comments, use three backticks instead. See Markdown syntax.

Was this page helpful?