Skip to content

Update math style when context changes #12

@cben

Description

@cben

When a formula is created it's typest according to the surrounding style (big in headers, colored in lists/quotations etc.
But when edits affect the style far down from the changed area (e.g. prepend/remove > at start of long parapraph), formulas are not re-rendered.

Fixing this might be unwise (performance-wise) until caching is implemented. Ideally, should use Rerender() API to re-generate DOM with new styles/measurements without re-parsing latex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions