theory directive

theory directive#

The theory directive creates a theory/concept admonition, styled to present definitions, theorems, or key concepts.

Basic usage#

:::{theory} The chain rule
If $y=f(g(x))$, then $y' = f'(g(x))g'(x)$.
:::

The chain rule

If \(y=f(g(x))\), then \(y' = f'(g(x))g'(x)\).

Syntax overview#

:::{theory} Title text
Body content with math, definitions, etc.
:::

The first argument is the title (required). The body can contain any MyST content.

Options#

No options.

Source#

src/munchboka_edutools/directives/admonitions.py