Opening notebook…

Roclet

Recent notebooks

Notebooks saved in this browser.

Keyboard shortcuts

Inside a cell, type and select text as usual. Press Esc to select the whole cell.

Enter
Edit the selected cell
↑ / ↓
Select previous / next cell
Shift ↑ / ↓
Extend or shrink the cell selection
⌘ / Ctrl A
Select all cells
⌘ / Ctrl C, X, V
Copy, cut, paste cells after the selection
A / B
Insert code above / below the selection
Delete / Backspace
Delete selected cells (undoable)
⌘ / Ctrl Enter
Run the current cell
Shift Enter
Run, then select the next cell
Alt Enter
Insert below, then run the current cell
⌘ / Ctrl Z
Undo (add Shift to redo)
⌘ / Ctrl S
Save to file
⇧ ⌘ / Ctrl S
Save as
?
Show this help in cell selection mode

While editing text

↑ / ↓
Move a line; cross to the adjacent cell at an edge
Page Up / Down
Move one editor page, preserving the column
Cmd ↑ / ↓
Jump to the first / last line; cross to the adjacent cell when already there
Home / Cmd ←
Move to indentation, then the start of the line
Ctrl Space
Complete a checked notebook name (with its type)
F2
Rename the binding under the cursor
Hover a name
Show its checked type
⌘ / Ctrl /
Comment/uncomment the current or selected lines
⌘ / Ctrl F
Find and replace in the active notebook
⇧ ⌘ / Ctrl F
Find and replace in the active notebook
⇧ ⌘ / Ctrl −
Split cell at cursor
Shift M
Merge selected cells (cell selection mode)
Alt / Option click
Add a cursor
⌘ / Ctrl Alt ↑ / ↓
Add a cursor above / below
⌘ / Ctrl D
Select the next occurrence
⌘ / Ctrl Shift L
Select all occurrences
Alt Shift drag
Select a rectangle

Multiple cursors edit within one cell. Shift extends text selections without leaving the cell. Vertical motion keeps its intended column across shorter lines and cells.

Use the triangle beside a cell to collapse or expand it, including Markdown. Arrow keys connect the App header and the first cell in both editing and cell-selection mode. Click a cell number to select it; Shift-click to select a range. Open ⋯ on any selected cell to move, collapse/expand, or merge the group. Click prose to edit Markdown. Tab moves between controls; it indents in an editor. Press Esc first to navigate controls.

Export & share



Roclet bundles include the source, attachments, project files, cell structure, and compiler identity. Open them in a compatible version of Roclet. Reports open directly in a browser. Interactive sites include Roclet and the compiler for hosting on HTTPS or localhost. Existing saved-output comments stay part of the source. Nothing is uploaded.

Roc downloads are runnable scripts. Rich outputs use a pinned Display package, which Roc downloads automatically. Roclet supplies it offline.

Offline & storage

Not prepared for offline use

This installs a verified copy of Roclet and its compiler. Bookmark this Roclet address, then reopen it to edit and run without a network connection. Updates take effect after all Roclet tabs are closed.

Browser drafts belong to this origin and profile. Keep downloaded copies of important notebooks.

Attachments

Keep a copy of your data with this notebook. Files stay in your browser and are included in Roclet bundles.

Drop files here, or Up to 16 MiB per notebook · text and binary files

No attachments yet. Add a CSV, JSON, image, or another file to get started.

Save a Roclet bundle to take your data with you. A .roc or .md source file contains only the notebook code and prose.

Open GitHub Gist

Open an editable copy with its supporting files. Changes are saved in this browser.

Project files

Add Roc modules and text files beside your notebook. Import a module with import Geometry. Download a Roclet bundle to include these files.

Load package bundle

This package couldn't be downloaded automatically. Its host may block browser access, or the network may be unavailable.

Download bundle ↗

Download the .tar.zst file, then load it below. Roclet verifies the package hash before using it and caches verified bundles in this browser. Additional dependencies may ask for their own bundle.

Download details

Open side by side

Choose a notebook for the right panel. Each panel has its own compiler worker, undo history and status.

Dependencies & timing

Rename binding

Update this definition and its resolved references across the notebook.

Runnable Roc