Skip To Article

Math Node

Specification

Math node for presenting numbered equations

type: string, (“math”)
See also Node
enumerated: boolean, optional
count this math block for numbering based on kind, e.g. See equation (1a)
enumerator: string, optional
resolved enumerated value for this math block
identifier: string, optional
See also OptionalAssociation
label: string, optional
See also OptionalAssociation
value: string
See also Literal
position: object, optional, (Position)
See also Node
data: object, optional
See also Node

Example

Markup
AST
Render
```{math}
:label: matrix
Ax = b
```

Inline Math Node

Specification

Fragment of math, similar to InlineCode, using role {math}

type: string, (“inlineMath”)
See also Node
value: string
See also Literal
position: object, optional, (Position)
See also Node
data: object, optional
See also Node

Example

Markup
AST
Render
This is genius {math}`e=mc^2`
MyST MarkdownMyST Markdown
Community-driven tools for the future of technical communication and publication, part of Jupyter.