# Math (https://openknowledge.ai/docs/reference/components/math)

Block math equation rendered with KaTeX from a LaTeX source string

## Example

```md
$$
E = mc^2
$$
```

## Props

| Prop | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `formula` | `string` | yes |  | LaTeX math source (rendered with KaTeX in the browser) |
| `id` | `string` | no |  | HTML id attribute for deep-linking (e.g. \`#eq-pythagoras\`) |
| `language` | `string` | no |  | Forward-compat hint for the math source language (default \`latex\`). Reserved for future MathJax / Typst / AsciiMath substrates. |

*Also matches:* `math`, `latex`, `equation`, `formula`, `katex`, `tex`

## Author it

Type `/math` in the editor to insert it from the slash menu, or write the tag directly in source mode. The Properties panel on the right of the editor exposes every prop above as a form field once the block is selected.