Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kicamon/markdown-table-mode.nvim

A lightweight markdown format plugin like vim-table-mode but write in lua
https://github.com/kicamon/markdown-table-mode.nvim

markdown nvim nvim-plugin

Last synced: 3 days ago
JSON representation

A lightweight markdown format plugin like vim-table-mode but write in lua

Awesome Lists containing this project

README

        

# markdown-table-mode.nvim
format markdown table under cursor when you leave insert mode or input `|`

### Screenshot
![Screenshot](./Screenshot.gif)

### Install
**lazy.nvim**

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

**vim-plug**

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

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