Home

Awesome

markdown-table-mode.nvim

format markdown table under cursor when you leave insert mode or input |

Screenshot

Screenshot

Install

lazy.nvim

{
  'Kicamon/markdown-table-mode.nvim',
  config = function()
    require('markdown-table-mode').setup()
  end
}

vim-plug

Plug 'Kicamon/markdown-table-mode.nvim'
lua require('markdown-table-mode').setup()

Configuration

defualt config

require('markdown-table-mode').setup({
  filetype = {
    '*.md',
  },
  options = {
    insert = true, -- when typeing "|"
    insert_leave = true, -- when leaveing insert
  },
})