obsidian-latex-suite icon indicating copy to clipboard operation
obsidian-latex-suite copied to clipboard

[BUG] math mode deletes above code block

Open rwang2022 opened this issue 6 months ago • 0 comments

Description

Typing in math mode (both inline and block) causes it to delete part of a code block above. It deletes everything after a >=.

To Reproduce

Put this in Obsidain

optional<double> safe_root(double x) {
    if (x >= 0) return optional<double>{sqrt(x)};
    else return optional<double>{};
}

Below it, try to do mk (which should expand into $$0$) and type anything.

Animation

rwang2022 avatar Dec 17 '23 17:12 rwang2022