No matching definitions.

notebook/render-html

src/notebook/render-html.tur

render notebook documents to standalone HTML.

defn

render-html-string-at

(render-html-string-at [nodes : int outputs : int opts : int html_path : cstr])

render a parsed notebook to HTML as if writing html_path.

defn

render-html-string

(render-html-string [nodes : int outputs : int opts : int])

render a parsed notebook and its outputs to standalone HTML.

defn

render-html

(render-html [path : cstr opts : int])

evaluate a notebook file and write rendered HTML beside it.

Internal definitions
__rhtml-build-hint
__rhtml-nil-value
__rhtml-list-nil?
__rhtml-cons
__rhtml-head
__rhtml-tail
__rhtml-ok
__rhtml-err
__rhtml-result-ok?
__rhtml-result-ok-val
__rhtml-cstr-as-int
__rhtml-int-as-cstr
__rhtml-cstr-empty?
__rhtml-cstr-eq?
__rhtml-str-concat
__rhtml-strdup-- an owned copy of a borrowed string.
__rhtml-join-owned-- join two OWNED blocks with a newline, releasing both.
__rhtml-wrap3-- pre + a + mid + b + post, in one allocation.
__rhtml-wrap4-- pre + a + m1 + b + m2 + c + post, in one allocation.
__rhtml-cstr-free-- release an owned string. Safe on 0.
__rhtml-cons-free-- free one cons cell, leaving its head alone.
__rhtml-spine-free-- free a cons spine, leaving the heads alone.
__rhtml-result-box-free-- release a Result box after taking its payload.
__rhtml-noop-- void no-op, so a cleanup-only `if` has void on both arms.
__rhtml-join-blocks
__rhtml-output-path
__rhtml-style-path
__rhtml-ensure-parent-dir
__rhtml-write-file
__rhtml-close-cache
__rhtml-render-opts-output-dir
__rhtml-render-opts-use-cache
__rhtml-render-opts-include-source
__rhtml-render-opts-include-output
__rhtml-render-opts-fail-fast
__rhtml-render-opts-math-mode
__rhtml-render-opts-assets-mode
__rhtml-lang-label
__rhtml-status-label
__rhtml-cell-class
__rhtml-html-escape
__rhtml-page-title
__rhtml-style-css
__rhtml-toggle-script
__rhtml-render-source-pre
__rhtml-source-pre-build
__rhtml-output-skipped?
__rhtml-output-meta
__rhtml-output-body
__rhtml-is-frame-tag?-- case-insensitive check for "frame" in the type tag.
__rhtml-frame-text-to-table-- parse pipe-delimited print-frame output
__rhtml-render-output-table
__rhtml-render-output-pre
__rhtml-render-math-body
__rhtml-render-math-output
__rhtml-int->cstr
__rhtml-copy-file
__rhtml-png-data-url
__rhtml-image-rel-name
__rhtml-dir-join
__rhtml-output-dir
__rhtml-render-image-block
__rhtml-cell-shows-source?
__rhtml-cell-shows-output?
__rhtml-render-cell-content
__rhtml-render-single-cell
__rhtml-should-toggle-pair?
__rhtml-toggle-button
__rhtml-toggle-button-build
__rhtml-toggle-panel
__rhtml-render-toggle-pair
__rhtml-render-state-make
__rhtml-render-state-text
__rhtml-render-state-outputs
__rhtml-render-state-adopt-- build a state that TAKES OWNERSHIP of `text`.
__rhtml-state-take-text-- hand the text out and clear the field.
__rhtml-render-state-free-- release a state and its text. Safe on 0.
__rhtml-render-body
__rhtml-cells-from-nodes-rev
__rhtml-reverse-- reverse a list, consuming its cons cells.
__rhtml-cells-from-nodes
__rhtml-list-length
__rhtml-cells-has-math-attr?
__rhtml-find-katex-vendor-dir
__rhtml-read-vendor-file
__rhtml-katex-css-rewrite
__rhtml-body-has-math?
__rhtml-katex-copy-fonts
__rhtml-katex-write-sibling
__rhtml-katex-inject
__rhtml-katex-sibling-tags
__rhtml-katex-inline-build
__rhtml-document
__rhtml-document-build