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

Table Formatter

fangface-hubfangface-hub121 downloads

Formats Markdown tables when files are saved.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates6

An Obsidian plugin for formatting Markdown tables on save.

Features

  • Formats Markdown tables whenever a Markdown file is saved.
  • Suppresses auto-format while editing in Live Preview mode.
  • Lets you format manually with the ribbon button (table icon) or the command palette.
  • Supports configurable table cell padding:
    • Fixed number of spaces (0 or more)
    • Blank (auto mode: single-space minimal formatting)
  • Supports configurable number of - characters in the delimiter row.

Settings

Open: Settings -> Community plugins -> Table Formatter

  • Padding spaces
    • Blank: | cell | style (single-space padding)
    • Integer (>= 0): exactly that many spaces around each cell
  • Table border dash count
    • Blank: auto (based on content width, minimum 3)
    • Integer (>= 1): fixed number of - in delimiter cells (no :)

Development

npm install
npm run dev

Run lint:

npm run lint

Auto-fix lint issues:

npm run lint:fix

Build production bundle:

npm run build

Note: npm run build runs lint first via esbuild.config.mjs.

Community Plugin Release

Use one of the following version bump scripts depending on the scope of changes:

  • npm run version:patch
    • For backward-compatible fixes only (x.y.z -> x.y.(z+1))
  • npm run version:minor
    • For backward-compatible feature additions (x.y.z -> x.(y+1).0)
  • npm run version:major
    • For breaking changes (x.y.z -> (x+1).0.0)

Each script updates package.json, package-lock.json, manifest.json, and versions.json together.

  1. Commit and push to GitHub.
  2. Create a GitHub Release with tag exactly matching manifest.json version.
  3. Attach release assets: main.js, manifest.json, styles.css (optional), versions.json (recommended).
  4. Submit the repository URL from Obsidian Community Plugins.

Notes:

  • manifest.json in the default branch must be up to date before submission.
  • Plugin id must be unique and must not contain obsidian.
HealthExcellent
ReviewSatisfactory
About
Format Markdown tables on save to ensure consistent alignment and spacing. Configure cell padding (fixed or automatic single-space) and set delimiter dash count (automatic or fixed) to control table width and appearance.
TablesFormattingAutomation
Details
Current version
1.0.1
Last updated
13 hours ago
Created
4 weeks ago
Updates
6 releases
Downloads
121
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
fangface-hubfangface-hub
github.com/fangface-hub
GitHubfangface-hub
  1. Community
  2. Plugins
  3. Tables
  4. Table Formatter

Related plugins

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Templater

Create and use dynamic templates.

BRAT

Easily install a beta version of a plugin for testing.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Lazy Loader

Load plugins with a delay on startup, so that you can get your app startup down into the sub-second loading time.

Admonition

Admonition block-styled content.

Readwise Official

Sync highlights from Readwise to your vault.

Update modified date

Automatically update a frontmatter modified date field when the file is modified.

Datacore

An even faster reactive query engine for the data obsessed.