Skip to content

Jupyter notebooks (.ipynb)

Publish .ipynb notebooks as pages, with their outputs, figures and code

Computational ToolsNotebooks
Read the docs

Built by

Curvenote

Availability

Built in

Works with

  • Curvenote CLI
  • Curvenote Reader
  • Curvenote Sites
  • Curvenote SCMS
  • Curvenote Studio

Resources

What Curvenote can do with a Jupyter notebooks (.ipynb) integration

  • Notebooks as pages

    Each .ipynb is a page, with its text, code and outputs.

  • Embed outputs

    Label a cell and show its output as a figure anywhere.

  • Run on build

    Execute notebooks as the site builds, so outputs are current.

  • Interactive outputs

    Plotly, Bokeh and Altair charts keep their interactivity.

How it works with Curvenote

Add .ipynb files to a Curvenote project and each becomes a page: Markdown cells as text, code cells with their outputs, and figures as figures. Label a cell and embed its output anywhere in an article, so a figure always comes from the code that made it.

The CLI can run notebooks as it builds, so outputs are current, and readers can run the cells again from the page when the site has compute. Interactive outputs, such as Plotly, Bokeh and Altair charts, stay interactive.

Setting it up

  1. Put your .ipynb files in the project and list them in its table of contents.

  2. Label a cell (#| label: fig-results) to embed its output in an article.

  3. Run curvenote start to preview, or build with execution on.

About Jupyter notebooks (.ipynb)

The .ipynb file is Jupyter’s notebook format: code, its outputs and narrative in one document.

Talk to us about your stack

More integrations

We use cookies to enhance your experience and analyze site usage.

Learn more in our Privacy Policy.