The following code:
> [!note]- Secret facts
> $1 + 1 = 2$, but $1 + 2 != 2$.
does not render the math blocks when expanded:

For now, one can use one of the following workarounds:
Typst code blocks:
> [!note]- Secret facts
> ```typst
> $1 + 1 = 2$, but $1 + 2 != 2$.
> ```
Display math blocks:
> [!note]- Secret facts
> $$1 + 1 = 2$$, but $$1 + 2 != 2$$.
Expand by default:
> [!note]+ Secret facts
> $1 + 1 = 2$, but $1 + 2 != 2$.
The following code:
does not render the math blocks when expanded:
For now, one can use one of the following workarounds: