A lightweight Neovim plugin for formatting markdown tables.
Find a file
2026-01-31 18:13:06 +01:00
doc wip 2026-01-31 18:13:06 +01:00
lua/md-table-tidy wip 2026-01-31 18:13:06 +01:00
.gitignore style: stylua 2025-07-17 12:16:50 +03:00
.stylua.toml style: stylua 2025-07-17 12:16:50 +03:00
demo.gif Initial commit 2025-05-14 19:48:21 +03:00
LICENSE Initial commit 2025-05-14 19:48:21 +03:00
README.md docs: remove licence link 2025-05-23 12:42:57 +03:00
table.md docs: help files 2025-05-14 19:48:21 +03:00

md-table-tidy.nvim

A lightweight Neovim plugin for formatting markdown tables. Just place your cursor anywhere inside a markdown table and trigger the formatter — it aligns pipes, cells, and headers for clean and readable output.

demo

Features

  • Formats markdown tables to align pipes and columns
  • Optional: add padding to cells for better readability

Requirements

Setup

Using lazy.nvim

return { "timantipov/md-table-tidy.nvim",
    -- default config
    opts = {
      padding = 1,        -- number of spaces for cell padding
      key = "<leader>tt", -- key for command :TableTidy<CR>
    }
}

Usage

Just hit <leader>tt or execute command :TableTidy on table under cursor