Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

HTML Tables

SunnyYYLinSunnyYYLin409 downloads

Enhance Markdown tables with headers, cell merging, column resizing, formulas, and captions.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Enhanced table support for Obsidian with advanced features like table headers, cell merging, and more.

Demo

Features

  • Table Headers: Support for header rows and header columns
  • Cell Merging: Merge cells horizontally and vertically
  • Column Resizing: Drag to resize columns, auto-fit, and equalize column widths
  • Table Captions: Add captions above tables
  • Formula Support: Basic formula support in table cells
  • Multiline Cells: Support for newlines within cells
  • Alignment Options: Horizontal and vertical alignment for cells
  • Context Menu: Right-click context menu for table operations
  • Preview Mode Support: All features work in Obsidian's preview mode

Installation

  1. Download the latest release from GitHub
  2. Copy main.js, manifest.json, and styles.css to your vault: VaultFolder/.obsidian/plugins/html-tables/
  3. Enable the plugin in Settings → Community plugins

Usage

Basic Usage

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   |

Table Captions

Add a caption by placing bracket text in a paragraph before your table:

[My Table Caption]

| Header 1 | Header 2 |
|----------|----------|
| Cell 1   | Cell 2   |

Floating Button

Hover over any table to reveal a floating action button. Click it to access:

  • Convert between Markdown and HTML format
  • Toggle Header Row
  • Toggle Header Column
  • Add Caption
  • Auto-fit / Equalize Column Width

Context Menu

Right-click on any table to access:

  • Merge Cells
  • Unmerge Cells
  • Auto-fit / Equalize Column Width
  • Horizontal / Vertical Alignment

Column Resizing

  • Drag to resize: Hover over the right edge of a header cell and drag to resize
  • Double-click to auto-fit: Double-click the resize handle to auto-fit the column width
  • Equal column widths: Use the context menu to make all columns equal width

Formula Support

Use formulas in table cells by starting with =:

| Value 1 | Value 2 | Sum |
|---------|---------|-----|
| 10      | 20      | =10+20 |

Multiline Cells

Use \n for newlines within cells:

| Description |
|-------------|
| Line 1\nLine 2 |

Settings

  • Enable advanced tables: Enable/disable all advanced features
  • Enable header row: Automatically format the first row as a header
  • Enable header column: Automatically format the first column as a header
  • Enable cell merging: Allow merging cells in tables
  • Enable formula support: Support formulas in table cells (starting with =)
  • Enable newline in cells: Support newlines in table cells using \n
  • Enable table caption: Support table captions above the table
  • Default horizontal alignment: Default horizontal alignment for table cells
  • Default vertical alignment: Default vertical alignment for table cells

Examples

Complete Example

[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 |

Table with Multiline Cells

| 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 |

Table with Alignment

| Left Aligned | Center Aligned | Right Aligned |
|:-------------|:--------------:|--------------:|
| Text | Text | Text |
| More text | More text | More text |

Development

  1. Clone this repository
  2. Run bun install to install dependencies
  3. Run bun run dev to start development with hot reload
  4. Run bun run build to build for production

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

BSD-0-Clause License

HealthExcellent
ReviewSatisfactory
About
Add advanced table features to notes: header rows and columns, horizontal and vertical cell merging, table captions, multiline cells, and basic formulas. Resize and auto-fit columns, set horizontal and vertical alignment, and edit tables via a right‑click context menu in preview mode.
TablesEditing
Details
Current version
0.0.3
Last updated
2 weeks ago
Created
2 months ago
Updates
2 releases
Downloads
409
Compatible with
Obsidian 1.8.7+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Author
SunnyYYLinSunnyYYLinsunnyyylin
GitHubsunnyyylin
  1. Community
  2. Plugins
  3. Tables
  4. HTML Tables

Related plugins

Advanced Tables

Improved table navigation, formatting, and manipulation.

Datacore

An even faster reactive query engine for the data obsessed.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Outliner

Work with your lists like in Workflowy or Roam Research.

Creases

Tools for effectively folding Markdown sections.

LanguageTool Integration

advanced spell/grammar checks with the help of language-tool.

MetaEdit

Manage your metadata.

Various Complements

Complete words similar to auto-completion in an IDE.

Simplified Chinese Word Splitting

Adds Simplified Chinese word splitting support for the editor and Vim mode.

Project Manager

Full-featured project management: stunning Gantt charts, Kanban boards, Table views, customizable fields, due date notifications.