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.

Open In Colab Open In Kaggle

Tutorial 1: Writing Content in MyST Markdown

MyST (Markedly Structured Text) is the markup language powering this book. It extends standard Markdown with directives and roles that produce rich, structured scientific content.

Why MyST instead of notebooks?

MyST .md files are the source of truth for this template. Jupyter notebooks (.ipynb) are generated automatically by CI — you never edit them by hand.

Benefits:

Basic Markdown

Everything standard Markdown supports works in MyST:

Admonitions

Use admonitions to call out notes, warnings, and exercises:

Code cells

Add executable code with the {code-cell} directive:

Hiding cells

Tag cells to control visibility:

Source

Summary