nb2wb
Turns Jupyter notebooks, Markdown articles or Quarto documents into paste-ready HTML for publishing editors that do not understand notebooks or LaTeX. Lets you write in a notebook and publish on platforms like Substack.
Share on XLicense: MIT
Overview
nb2wb is a Python tool that converts notebook-style writing into HTML you can paste into publishing editors. Many web editors do not understand Jupyter, Quarto or LaTeX, so code and math often break when copied. You start from a notebook, a Markdown article or a Quarto document, pick a target such as Substack, Medium, LinkedIn or WordPress, and paste the result. It can also turn published HTML back into a notebook.
Key features
- Accepts .ipynb, .qmd and .md files as input
- Renders code cells as syntax-highlighted images
- Renders display math as images and inline math as Unicode
- Provides output profiles for Substack, Medium, Ghost, WordPress and more
- Converts published HTML back into a notebook scaffold
Best for
Writers who draft technical posts in notebooks and publish on platforms without notebook or LaTeX support.
- Upstream
- the-palindrome/nb2wb
- Fork on GitHub
- Guo-astro/nb2wb
- Upstream stars
- 23
- Category
- Documents, media and content
- Language
- Python
- License
- MIT
- Forked
- 2026-02-15
- Sync status
- In syncLast synced 2026-09-29
More in Documents, media and content
A Markdown-based typesetting system that turns plain text into papers, presentations, websites, books and knowledge bases. It adds scripting features to Markdown for richer documents.
Forked 2026-09-28Last synced 2026-09-29License: GPL-3.0Documents, media and contentGitHub
A fast library that converts Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV and PDF files into clean Markdown. It has Node.js and Python bindings, useful for feeding documents to text tools.
Forked 2026-09-28Last synced 2026-09-29License: MITDocuments, media and contentGitHub
A starter that creates a complete Astro documentation site in your repo as editable files. It is built so both human readers and AI agents can use the docs.
Forked 2026-09-28Last synced 2026-09-29License: MITDocuments, media and contentGitHub
A PowerPoint alternative where a whole slide deck is a single HTML file containing its own viewer, presenter and editor. You can open, edit and present it in any browser.
Forked 2026-09-26Last synced 2026-09-29License: MITDocuments, media and contentGitHub