fangface-hub598 downloadsFormats Markdown tables when files are saved.
An Obsidian plugin for formatting Markdown tables on save.
0 or more)- characters in the delimiter row.: markers in the delimiter row (:---, ---:, :---:) are preserved.Open: Settings -> Community plugins -> Table Formatter
Padding spaces| cell | style (single-space padding)>= 0): exactly that many spaces around each cellTable border dash count3)>= 1): fixed number of - in each delimiter cell. Alignment colons (:) are kept and placed around the dashes, so a left-aligned column with dash count 3 becomes :---.Auto-format delay>= 1, default 3)Enable auto-format and focus control while editingTable indentation formattingPreserve table indentation: indented tables are excluded from formattingRemove table indentation: indented tables are formatted and indentation is removedEmpty cell formattingPadded, "| |": unchanged, | |Single space, "| |": | |, which MD060 compact acceptsnpm 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.
Use one of the following version bump scripts depending on the scope of changes:
npm run version:patchx.y.z -> x.y.(z+1))npm run version:minorx.y.z -> x.(y+1).0)npm run version:majorx.y.z -> (x+1).0.0)Each script updates package.json, package-lock.json, manifest.json, and versions.json together.
manifest.json version.main.js, manifest.json, styles.css (optional).Notes:
manifest.json in the default branch must be up to date before submission.versions.json should stay in the repository root for Community Plugin compatibility mapping, but it does not need to be attached to the GitHub Release.id must be unique and must not contain obsidian.