SunnyYYLin409 downloadsEnhance Markdown tables with headers, cell merging, column resizing, formulas, and captions.
Enhanced table support for Obsidian with advanced features like table headers, cell merging, and more.

main.js, manifest.json, and styles.css to your vault: VaultFolder/.obsidian/plugins/html-tables/The plugin automatically enhances tables in preview mode. Simply create a standard markdown table:
| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
Add a caption by placing bracket text in a paragraph before your table:
[My Table Caption]
| Header 1 | Header 2 |
|----------|----------|
| Cell 1 | Cell 2 |
Hover over any table to reveal a floating action button. Click it to access:
Right-click on any table to access:
Use formulas in table cells by starting with =:
| Value 1 | Value 2 | Sum |
|---------|---------|-----|
| 10 | 20 | =10+20 |
Use \n for newlines within cells:
| Description |
|-------------|
| Line 1\nLine 2 |
[Quarterly Sales Report]
| Product | Q1 | Q2 | Q3 | Q4 | Total |
|---------|----|----|----|----|-------|
| Widget A | 100 | 150 | 200 | 250 | =100+150+200+250 |
| Widget B | 80 | 120 | 160 | 200 | =80+120+160+200 |
| Widget C | 50 | 75 | 100 | 125 | =50+75+100+125 |
| Feature | Description |
|---------|-------------|
| Header Rows | Automatically format the first row as a header\nwith bold text and centered alignment |
| Header Columns | Automatically format the first column as a header\nwith bold text and centered alignment |
| Left Aligned | Center Aligned | Right Aligned |
|:-------------|:--------------:|--------------:|
| Text | Text | Text |
| More text | More text | More text |
bun install to install dependenciesbun run dev to start development with hot reloadbun run build to build for productionContributions are welcome! Please feel free to submit a Pull Request.
BSD-0-Clause License