Skip to content

About

Structure-aware LaTeX editing plugin for Obsidian.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Struct LaTeX

Release Platform License

English · 简体中文

A powerful LaTeX editing plugin for Obsidian, powered by a parse tree instead of regex.

Active only inside math regions, supporting arbitrary nesting depth without interfering with prose writing or IME input.

Features

  • Structural Deletion: Delete matrices, fractions, radicals, scripts, brackets, and functions as complete units along the parse tree hierarchy
  • Smart Cursor Jumping: Jump the cursor intelligently along the parse tree hierarchy
  • Smart Input: Supports JavaScript API, regex, and plain text replacement
  • Real-time rendering of inline math: The display position can also be adjusted.

Highlights

  • Parse Tree Engine: Say goodbye to rule conflicts and depth limits of hundreds of nested regexes, achieving infinite nesting depth
  • Mobile Ready: Supports Obsidian 1.4.0 and above
  • Comprehensive Built-in Rules: Covers nearly all common mathematical input workflows
  • JavaScript API: Enables highly extensible, complex editing behaviors
  • Lightweight & Fast: Locally parses only the active math block with sub-0.1 ms response time
  • Adaptive brackets: Supports automatically detecting bracket content and converting it to curly braces.

Screenshots

Real-time inline math rendering
Real-time inline math rendering

Cursor Jump settings Built-in input rules
Cursor Jump & input rule settings · built-in JavaScript rules

Download & Installation

About

Structure-aware LaTeX editing plugin for Obsidian.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages