Mehdi Khaksar142 downloadsA plugin simulating the WordMat experience. Write Math/Physics/Chemistry notation comfortably like in WordMat, rather than spending more time writing LaTeX.
MathMacro is a small Obsidian plugin that brings a WordMat-style input experience to math and physics writing.
Instead of making you type LaTeX manually, it helps you enter common notation more quickly inside Obsidian math fields.
Alt + M inserts a centered display math block ($$ ... $$) and places the cursor inside it.Space inside a math field to trigger WordMat-style shortcuts./ -> \frac{a}{b} for simple fractions like 1/2^ -> superscripts like v^{2}_ -> subscripts like F_{c}* -> \cdot\alpha, \beta, \gamma, \theta, \omega, \pi\sqrt, \int, \sum, \vec, \hat.obsidian/plugins/obsmat directory.Alt + M to insert a math field.Space to expand it into normal Markdown / LaTeX.Examples:
1/2 + Space -> \frac{1}{2}v^2 + Space -> v^{2}F_c + Space -> F_{c}* + Space -> \cdot\sqrt + Space -> \sqrt{}npm install
npm run build
The build output is main.js, which Obsidian loads from the plugin folder.
1.5.0 or newer.MathMacro is intentionally small and focused.
It is meant to improve math and physics input in Obsidian without turning into a full LaTeX editor or equation tool.
All rights reserved. See LICENSE for the full terms.