Skip to content

Typst math rendering does not work correctly inside Obsidian-style callouts. #748

Description

@OstrichDowneyJr

When Typst is selected as the math renderer, equations render correctly in normal note content, but the same equations placed inside a callout such as > [!note] are not rendered correctly.

Steps to reproduce
Go to Settings → Editor → Math renderer and select Typst.
Create a note with a Typst equation outside a callout:

$
x_1 = frac(det W_1, det A)
$

Put the same equation inside a callout:

Note

$
x_1 = frac(det W_1, det A)
$

Expected behavior
The Typst expression inside the callout should be rendered in the same way as an expression outside the callout.

Actual behavior
Typst math inside the callout is not rendered correctly, while the same expression outside the callout works as expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions