Skip to content

In-line math blocks don't render inside collapse-by-default callouts #69

Description

@jh05013

The following code:

> [!note]- Secret facts
> $1 + 1 = 2$, but $1 + 2 != 2$.

does not render the math blocks when expanded:

image

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$.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions