Member-only story
π§ Regularly Used MyST Syntax
Create Beautiful, Interactive, and Executable Technical Books
π Introduction
MyST (Markedly Structured Text) extends Markdown with additional syntax for scholarly content, code execution, and interactivity. This guide introduces commonly used MyST syntax for authoring content in Jupyter Book 2. MyST (Markedly Structured Text) extends Markdown with powerful features like directives, executable code cells, math rendering, cross-references, and more β ideal for technical writing and interactive documentation.
βοΈ Writing in MyST Markdown
MyST Markdown supports all basic Markdown plus:
1. π Headers
# Chapter Title
## Section Title
### Subsection2. π§© Directives
Use double colons and directives like in reStructuredText:
```{note}
This is a **note** box., {warning}
Be cautious with this!
{margin}
This content appears in the margin.3. π Admonitions (Tips, Warnings, etc.)
```md
```{admonition} Try this out!
You can create custom admonitions too.