Jupyter Notebook¶
🌐 AI ReaderRead this document in English or ask questions: Open in Claude, ChatGPT, or Gemini ↗
A notebook is a document too: the file is README.ipynb, and the doc_id lives in the notebook metadata. MyST-NB builds it and parses Markdown cells as MyST, exactly like a .md document, with no pandoc.
Running Code¶
import re
bool(re.match(r"^[A-Za-z]{12}$", "diUoGPNCOIwO"))
True
Cross-File Links and Directives¶
A Markdown cell links to another document with MyST Markdown Basics and uses directives directly:
Note
This note is written in an ordinary Markdown cell.
flowchart LR
nb[README.ipynb] --> mystnb[MyST-NB] --> html[HTML]
Warning
Raw cells are not rendered (they are dropped, and the build does not warn). Write everything that needs Sphinx in Markdown cells.