@lincyaw/render-notebook
v1.0.0-rc.0
Published
Presmium's notebook renderer: writes the IR as a Jupyter notebook (nbformat 4)
Maintainers
Readme
@lincyaw/render-notebook
Presmium's notebook renderer: writes the IR as a Jupyter notebook (nbformat 4). Narration becomes Markdown cells, code in the kernel's language becomes code cells with their recorded outputs, and components show their fallback.
Part of Presmium, which turns lectures written in MyST Markdown into web pages, slides, Jupyter notebooks and narrated lectures.
Install
pnpm add -D @lincyaw/cli @lincyaw/render-notebookConfiguration
In the headmatter, renderers.notebook: kernel (default python3) and webUrl, where components the notebook cannot show link to (by default ../web/ when the web pages are built too).
Documentation
License
Apache-2.0
