Getting Started with TeXcore¶
Follow this guide to install, configure, and draft your first indexed equations in Obsidian.
Installation¶
You can install TeXcore either directly from the official Obsidian Community Plugins store or manually by compiling the releases.
- Navigate to Ctrl+, (or Cmd+, on macOS) to open Obsidian Settings and select Community plugins.
- Click Browse, search for
TeXcore, and click Install. - Once installed, click Enable to activate the plugin.
- Download the latest
main.js,manifest.json, andstyles.cssfrom the Latest Releases. - Open your Obsidian Vault directory and navigate to the hidden directory:
.obsidian/plugins/. - Create a folder named
TeXcoreand paste the three downloaded files into it. - Go to Settings → Community plugins and toggle TeXcore to Enable.
Step-by-Step Setup¶
Let's write, trigger, and link your first math reference.
graph TD
A[Create display math $$ block] --> B[Add % id: eq-name inside]
B --> C[Type \eqref autocomplete trigger]
C --> D[Select reference from popup]
D --> E[Link resolved with tag number] 1. Write the Math Block¶
Open any note in your vault and create a standard display math block:
$$
\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
$$
2. Add the Identifier¶
To index the equation, insert a LaTeX comment (% id: <name>) on the line immediately preceding the closing $$ delimiter:
$$
\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
% id: eq-gaussian
$$
ID Format Constraints
Your identifier must start with eq- followed by letters, numbers, or hyphens. Examples: eq-gaussian, eq-step-1, or eq-ref-3.
3. Insert the Reference¶
Type \eqref (the default trigger) in your text. An autocomplete dropdown listing all active note equations will pop up. Select eq-gaussian and press Enter to insert [[#^eq-gaussian]].
The integral [[#^eq-gaussian]] resolves to a constant.
4. Observe the Rendered Result¶
Obsidian will now display a right-aligned number tag (1) next to the equation, and the inline link will render as clickable text displaying (1). Hovering over it displays a rich popup preview of the math block.
Interactive Command Palette Actions¶
Press Ctrl+P (or Cmd+P) to trigger the command palette. TeXcore exposes several key commands:
| Command | Action Description | Core Feature Link |
|---|---|---|
Insert display math | Inserts a template display math block containing the % id: line. | Equations |
Search equations in active note | Opens the search modal to browse all equation cache references. | Search |
Fix callout equations in active note | Fixes missing or misaligned callout markers on math blocks. | Callouts |
Export current file to PDF | Opens the PDF compilation window with preview and print settings. | PDF Export |
Insert LaTeX Snippet | Displays saved snippets for fast editor insertion. | Snippets |
For further customization, consult our Settings Reference or explore the Features Matrix Overview to see what is possible.