Feature Request: Hiding Cell

From the downloaded folder, open index.html in your editor and replace the lines

const runtime = new Runtime();
const main = runtime.module(define, Inspector.into(document.body));

with

const runtime = new Runtime();
const inspect = Inspector.into(document.body);

const cells = new Set(["foo", "bar"]); // The cells that you want to display.
const main = runtime.module(define, name => cells.has(name) ? inspect() : undefined);

where “foo” and “bar” are just examples of cell names.

2 Likes