Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jh05013 opened this issue Dec 10, 2024 · 0 comments
Open

Comments

@jh05013
Copy link

jh05013 commented Dec 10, 2024

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$.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant