Skip to content

<notatio-notebook>

<notatio-notebook> -- a notebook that sits on top of <notatio-in> and owns the session: it evaluates every cell in its own compute-engine *scope* (a child of the shared engine's root, so bindings never leak to other notebooks or the reference pages), tracks dependencies between cells, and re-evaluates live.

A cell binds a variable with := (a := 5, f(x) := x^2); later cells use that name. seed is an optional JSON array of cell sources, notatio unless in-form="latex".

Variable-centric and Desmos-like: cells can be reordered (drag the ordinal), so references are by name only -- a cell-number reference draws a diagnostic. The ordinal on the left is a pure display index (a CSS counter), referencing nothing.

Stories in the playground·packages/notatio-lit/src/notatio-notebook.ts· in Vue: <Notebook>

Attributes

AttributeTypeDefaultNotes
seedstring""A JSON array of cell sources, used as the notebook's initial cells.
in-form
property inForm
string"notatio"The seed's syntax: notatio (default) or latex, the editor's own form.