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.
markdown
(:TSInstall markdown
)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>
}
}
Just hit <leader>tt
or execute command :TableTidy
on table under cursor