Help us shape the future of Go! Take the 2026 Go Developer Survey

notebook

command
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: BSD-3-Clause Imports: 24 Imported by: 0

Documentation

Overview

Command notebook runs Go notebooks: Markdown files whose ```go blocks are cells.

notebook run analysis.md            run it, print each cell's results
notebook html analysis.md           run it, write analysis.html
notebook watch analysis.md          run it again on every save, keeping analysis.html current
notebook serve analysis.md          the same, shown live at http://127.0.0.1:8888

Results are kept between invocations in a work directory under the user's cache directory, so a second run only runs the cells that changed.

Flags are POSIX: --timeout 5s, -t 5s. The single-dash long spelling of earlier releases (-timeout 5s) is still read, with a note on stderr.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL