All updates
Improved

Code blocks with a language and Copy

Code blocks are real blocks now: one rounded box, colored for their language, with a Copy button when you point at them.

{ code }

What’s new

  • One rounded box around all the lines, in notes, stickies and printouts.
  • Pick the language from a small menu at the top right, and the code is colored to match.
  • Copy a block as Markdown with one click.
  • Press ↓ at the end of a note's last code block to add a line below it.

Try it

```python
Start a Python code block