ipynb
is a Go package for
reading/writing
Jupyter Notebook files.
The document is
at here.
markdown-to-ipynb
is a command line tool that converts Markdown
files (.md
) into Jupyter Notebooks using ipynb
.
To build and use markdown-to-ipynb
:
-
Download and install Go: https://golang.org/doc/install
-
Make sure that you have Git installed.
-
Checkout and install
markdown-to-ipynb
:export GOPATH=...any where you like... go get -u github.com/wangkuiyi/ipynb/markdown-to-ipynb
-
Convert an example Markdown file:
$GOPATH/bin/markdown-to-ipynb < example.md > example.ipynb
-
(Optionally) view the Notebook file:
jupyter notebook example.ipynb
The example Markdown file is at here, and the converted Notebook file is at here.