Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer struct {
render.CellWrapper
// contains filtered or unexported fields
}
Renderer renders the notebook as HTML. It supports "markdown", "code", and "raw" cells with different mime-types of the their data.
func NewRenderer ¶
NewRenderer configures a new HTML renderer. By default, it embeds a *Wrapper and will panic if it is set to nil by one of the options.
func (*Renderer) RegisterFuncs ¶
func (r *Renderer) RegisterFuncs(reg render.RenderCellFuncRegisterer)
type Wrapper ¶
type Wrapper struct {
Config
}
Wrapper wraps cells in the HTML produced by the original Jupyter's nbconvert.
func (*Wrapper) WrapOutput ¶
type WriterOnce ¶
type WriterOnce struct {
// contains filtered or unexported fields
}
WriterOnce writes to the writer once only. TODO: move to util
Click to show internal directories.
Click to hide internal directories.