Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Execute & Compute

Run code in your Jupyter Book at build time, cache outputs for fast rebuilds, and include computational results (figures, tables, values, etc) directly in your pages.

Notebook execution configuration

Control which notebooks execute, choose kernels, set timeouts, and configure caching behaviour. See Add metadata to notebooks.

Notebooks written in Markdown

Author Jupyter notebooks as plain .md files using MyST cell markers, with the same execution behaviour as .ipynb. See Executable Markdown Files.

Markdown vs. .ipynb

Guidance on when to choose Markdown notebooks vs. traditional .ipynb files for your project. See How to choose between .ipynb and .md when writing Jupyter notebooks.

Reuse Jupyter outputs

Embed computed outputs (figures, tables, values) from one notebook across other pages in your book. See Embed and Reuse Jupyter Outputs.

Interactive notebooks and widgets

Make notebook outputs interactive in the rendered website using widgets and structured outputs. See Generate and Display Rich Outputs.

In-page execution with Thebe

Let readers run code directly on a page in their browser, backed by a remote kernel. See In-Page Execution.

Launch buttons

Add buttons that open notebooks in Binder or JupyterHub. See Launch Jupyter sessions.