Documentation
¶
Overview ¶
Package nbtohtml is a library for converting Jupyter Notebook files to HTML.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertFile ¶
ConvertFile reads the file at the provided path and converts its content (the Jupyter Notebook JSON) to HTML.
For example, the function can be called the following way:
notebookHTML := new(bytes.Buffer) notebookPath := "/path/to/your/notebook.ipynb" err := nbtohtml.ConvertFile(notebookHTML, notebookPath)
func ConvertString ¶
ConvertString converts the provided Jupyter Notebook JSON string to HTML.
For example, the function can be called the following way:
notebookHTML := new(bytes.Buffer) notebookString := `{ "cells": ... }` err := nbtohtml.ConvertString(notebookHTML, notebookString)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.