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.
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 signEverything else in the cell — plain text, escaped $, unbalanced $ — is left exactly as-is.
| 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.
Install from the community plugin catalog in Obsidian, or manually:
main.js, manifest.json, and styles.css from the latest release.<vault>/.obsidian/plugins/html-table-math/.MIT