Skip to content

timantipov/md-table-tidy.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A lightweight Neovim plugin for formatting markdown tables.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages