Skip to content

0.0.4

Latest

Choose a tag to compare

@SharbelMarshi SharbelMarshi released this 10 Aug 01:51

Latex Suite Extension 0.0.4

Auto-close $

Typing $ now inserts $|$ with the cursor in the middle. A second $ upgrades the
empty pair to display math $$|$$. Typing $ right before a closing $ steps over it
instead of doubling it, and typing $ with a selection wraps it in $...$. Escaped \$
and $ inside code/comments are left alone. Toggle under "Math rendering > Auto-close $".

Solve

  • Enhancing expression detection for evaluation.

Fixes

  • Display math is no longer corrupted by the inline-math brace guards: the Obsidian 1.13
    parser tokenizes the two dollars of $$ separately, which made the plugin mistake
    display delimiters for inline ones and inject visible {} into $$...$$ blocks.
  • Wrapping a selection with $ (Obsidian's built-in auto-pair) works again; the new
    auto-close feature no longer intercepts it.