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

export

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Overview

Package export renders a notebook and its results as a standalone HTML page: the prose as Markdown, each code cell with what it printed, showed or failed with. The page has no scripts and no external resources, and raw HTML in the prose is left out (goldmark's safe default), so a page made from someone else's notebook runs nothing of theirs but what its cells chose to display.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTML

func HTML(w io.Writer, title string, nb *format.Notebook, rep *kernel.Report) error

HTML writes the page. results holds one entry per code cell, in order; a nil report renders the notebook without results.

Types

This section is empty.

Jump to

Keyboard shortcuts

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