HTML Table Math
approvedby timeofmei
Render LaTeX math inside raw HTML table cells. - This plugin has not been manually reviewed by Obsidian staff.
HTML Table Math
Render LaTeX math inside raw HTML table cells for Obsidian.
Obsidian renders $...$ math in regular markdown, but not inside raw HTML tables. This plugin fills that gap: math in <table> cells is rendered with MathJax in both Reading View and Live Preview.
Usage
Write math as you normally would, inside the td / th cells of a raw HTML table:
<table>
<tr>
<th>Notation</th>
<th>Meaning</th>
</tr>
<tr>
<td>$\operatorname{span}(\mathbf{x})$</td>
<td>$$E = mc^2$$</td>
</tr>
</table>
Supported delimiters (matching Obsidian's own math):
$ ... $— inline math$$ ... $$— display math\$— a literal dollar sign
Everything else in the cell — plain text, escaped $, unbalanced $ — is left exactly as-is.
Settings
| Setting | Description |
|---|---|
| Enable rendering | Master switch for the plugin. |
| Live Preview | Whether math is rendered in Live Preview as well as Reading View. |
| On render error | What to show when a formula fails to render: keep the raw LaTeX, or MathJax's error output. |
Changes to the settings apply immediately to already-open notes — no reload required.
Requirements
- Obsidian 1.13.0 or newer (uses the declarative settings API)
Installation
Install from the community plugin catalog in Obsidian, or manually:
- Download
main.js,manifest.json, andstyles.cssfrom the latest release. - Copy them into your vault at
<vault>/.obsidian/plugins/html-table-math/. - Enable the plugin in Settings → Community plugins.
License
MIT
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.