Demos
Each page is built with the framework and runs in your browser. Nothing starts until you press a button.
On a page
- One idea, six shapes
- The same program as an editor, a notebook cell, a chat message, an exercise, a slide and a tooltip.
- Any width
- Drag the edge, or pick a width: the same playground wraps and scrolls inside its box, never the page.
- Styling
- One playground in six complete looks, each with the CSS that makes it: custom properties, parts, and a start from nothing.
- Plain HTML, Markdown or Solid
- One playground three ways, with the source of each beside it.
- Many languages, one interface
- Switch the language under one idea; every language is the same element.
- Bring your language
- A language is a package: a manifest, a grammar and a worker. Here is one running beside its own files.
Outputs
- The editor knows the language
- Errors, types on hover, completion and signature help from the language's own server, and a proof assistant's goals as you edit.
- Outputs beyond text
- Proof trees, countermodels, intermediate forms, tables, a typeset page.
- Outputs linked to the code
- Outputs are panes you place anywhere; hover one and the code it came from lights up.
- Outputs before any script
- The output was computed when the site was built, and shows with scripts off.
Teaching
- A notebook of shared cells
- Cells share one engine, a hidden setup, a folded prelude, and outputs that follow the code.
- Exercises with hidden tests
- Write the function; hidden tests judge it. Vim keys, saved code and share links.
Trust
- Limits and containment
- A run that never ends is stopped; the sandbox has no network and cannot reach this page.