Getting Started
About
Ipynb2web is designed to convert Interactive Python Notebooks (.ipynb) into web-ready, static assets that are template-compatible. This standalone tool uses marked
as it's only dependency and offers unique functionalities not found in other tools like Pandoc, Sphinx, Nbdev, Quarto, etc.
Complete with API documentation, this project facilitates seamless integration of .ipynb documents into web formats.
Core Features
- Inclusion of
yaml
metadata at the top of notebooks for processing instructions in the final json output. - Use of special
#flags
to control output formatting for individual notebook cells. - Option to add minimally opinionated, pre-formatted content through specific
markup
.
Capabilities
- Converts .ipynb documents into web-templatable json assets with a single command.
- Enables rendering of assets on the server or browser using Modules, Vanilla JS, or terminal commands.
- Supports custom template creation and integration with existing tools.
- Automates handling of intricate details overlooked by other notebook conversion tools, such as removing system logs, warnings, and error messages.
- On the server side, it can traverse directories to create python modules, tables of contents, sitemaps, cover photos, and audio transcriptions.
Development Notes
- Running
Build
will link/relink the repo to your global npm registry - Rendered JSDocs are inserted as static asseets into Docsaurus.
- The node module does not get minified but served directly from source. BuildESM is not used.