Convert IPYNB to DOCBOOK
Turn IPYNB files into DOCBOOK. A DocBook 5 article with sections, lists, tables, links, footnotes and math.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop IPYNB files on the dialor turn it to pick what to do
A notebook as a DocBook article.Cells stay in order, with code as code blocks and text outputs below them.
What you get
One DocBook 5 article built from the notebook. It has sections, lists, tables, links, footnotes and math, so the structure of your notes carries over.
Every cell comes in order. Markdown cells come in as they are. Code cells become code blocks, and text outputs sit below the code that produced them.
What it leaves behind
Plots keep only their text placeholder. The image itself is not in the DocBook file.
Raw cells and notebook metadata are dropped.
Going the other way
To turn a DocBook file back into a notebook, use DOCBOOK to IPYNB. The conversion makes one file from one notebook.
IPYNB and DOCBOOK.What each format is.
The formats
Jupyter Notebook
Jupyter notebooks. Code cells, their outputs and Markdown notes in one JSON file.
- Extensions
- .ipynb
- MIME type
- application
/x -ipynb +json - Kind
- Text and data
DocBook
DocBook XML, the structured format of technical books and manuals.
- Extensions
- .dbk .docbook
- MIME type
- application
/docbook +xml - Kind
- Text and data
In your code.The same IPYNB to DOCBOOK conversion through the API, for your app or your agent.
$ cv convert report.ipynb report.dbk$ cv convert report.ipynb report.dbkQuestions.What people ask about IPYNB to DOCBOOK.
Yes. Each code cell becomes a code block, and its text output is placed below it.
Only the text placeholder of a plot is kept. The plot image is not included.
Yes. Markdown cells come in as they are, in the same order as in the notebook. Headings, lists, tables, links, footnotes and math are carried into the article.
No. Raw cells and notebook metadata are dropped.