MathMacro
approvedby Mehdi Khaksar
A plugin simulating the WordMat experience. Write Math/Physics/Chemistry notation comfortably like in WordMat, rather than spending more time writing LaTeX. - This plugin has not been manually reviewed by Obsidian staff.
MathMacro
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.
Features
Alt + Minserts a centered display math block ($$ ... $$) and places the cursor inside it.- Press
Spaceinside a math field to trigger WordMat-style shortcuts. - Supported shortcuts include:
/->\frac{a}{b}for simple fractions like1/2^-> superscripts likev^{2}_-> subscripts likeF_{c}*->\cdot\alpha,\beta,\gamma,\theta,\omega,\pi\sqrt,\int,\sum,\vec,\hat
Installation
- Download the latest release from the Obsidian Community Plugins page or from the GitHub releases for this repository.
- Copy the plugin folder into your vault's
.obsidian/plugins/obsmatdirectory. - Reload Obsidian and enable MathMacro in Community Plugins.
Usage
- Open a note in Obsidian.
- Press
Alt + Mto insert a math field. - Type a shortcut inside the math field.
- Press
Spaceto 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{}
Development
npm install
npm run build
The build output is main.js, which Obsidian loads from the plugin folder.
Compatibility
- Requires Obsidian
1.5.0or newer. - Compatible with desktop and mobile Obsidian.
- The input shortcuts are native for keyboard, but also work on mobile keyboard.
Project goals
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.
License
All rights reserved. See LICENSE for the full terms.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.