strangelion52 downloadsLaTeX formula editor with MathLive WYSIWYG editing, 2100+ categorized formulas, smart search, and extensible formula folders.
中文文档 | English Doc
A LaTeX formula editor for Obsidian with MathLive WYSIWYG editing, 2100+ categorized formulas, smart search (pinyin, LaTeX commands, fuzzy matching), and extensible formula folders for user customization.
frac → Fraction), and fuzzy matching$...$ or $$...$$ and run command to editformulas/obsidian-formula-library folder to your Vault's .obsidian/plugins/ directorystrangelion/obsidian-formula-libraryCtrl+P → "Open Formula Editor"Shift+Enter) to write the formula to your note$...$ or $$...$$| Category | Count | Description |
|---|---|---|
| Greek | 52 | α, β, γ, ... |
| Structures | 43 | Fractions, roots, integrals, sums, matrices |
| Delimiters | 36 | Parentheses, brackets, braces, absolute value |
| Analysis | 210 | Real/complex/functional analysis, measure theory |
| Algebra | 174 | Linear algebra, group/ring/module theory |
| Geometry | 133 | Classical, differential, Riemannian, symplectic |
| Topology | 166 | Point-set, algebraic, differential |
| Number Theory | 166 | Elementary, analytic, algebraic, modular forms |
| Relations | 112 | Equalities, order, subsets, logic |
| Operators | 64 | Arithmetic, set, logic operators |
| Big Ops | 20 | Sums, products, integrals, unions, intersections |
| Arrows | 68 | Various arrow symbols |
| Sets | 40 | Set theory, logic, cardinals |
| Functions | 131 | Elementary, special functions, distributions |
| Probability | 170 | Distributions, theorems, stochastic processes |
| Physics | 251 | Mechanics, EM, quantum, relativity, QFT |
| Chemistry | 229 | Reactions, molecules, ions, thermodynamics |
| Misc | 56 | Ellipsis, infinity, special symbols |
Formula data is stored in the formulas/ folder inside the plugin directory, with one JSON file per category. Users can add new formulas or categories directly.
BRAT Compatibility: The plugin includes embedded fallback data in
main.js. If theformulas/folder cannot be loaded, the plugin automatically uses the fallback. When releasing, include the entireformulas/folder in your release assets.
formulas/
_index.json # Category ordering (optional, auto-discovered if missing)
_strings.json # UI translation strings
greek.json # Greek letters
structures.json # Structures
analysis.json # Analysis
... # Other categories
Edit the corresponding JSON file and add new formulas to the items array:
{
"id": "greek",
"structures": false,
"items": [
["α", "\\alpha"],
["β", "\\beta"],
["Custom", "\\mycommand{#?}", "Custom Formula"]
]
}
formulas/ directory (e.g., mycategory.json):{
"id": "mycategory",
"structures": false,
"items": [
["Formula Name", "\\latex{code}", "English Name"]
]
}
order array in _index.json:{
"order": ["greek", "structures", "...", "mycategory"]
}
If
_index.jsondoesn't exist or doesn't include the new category ID, the plugin auto-discovers and loads groups alphabetically.
Each formula is an array: [label_zh, LaTeX code, label_en (optional)]
["α", "\\alpha"]["Fraction", "\\frac{#?}{#?}", "Fraction"]{"section": "Section Title", "sectionEn": "Section Title"}["Matrix", "matrix:matrix", "Matrix"] (prefix matrix: triggers template)# Syntax check
node -c main.js
Formula library extracted from LaTeXSnipper Office Plugin Rendering uses Obsidian's built-in MathJax and MathLive