23
23
24
24
- Neovim >= 0.8.0
25
25
- Optional: A picker plugin (` snacks.nvim ` , ` fzf-lua ` , or ` telescope.nvim ` ) for the template creation feature.
26
- - Optional: An external Markdown preview tool (like ` glow ` , ` pandoc ` , etc.) if using the ` MarkdownPreview ` command.
27
26
28
27
## 📦 Installation
29
28
@@ -84,8 +83,7 @@ require('markdown-tools').setup({
84
83
-- Keymappings for shortcuts. Set to `false` or `""` to disable.
85
84
keymaps = {
86
85
create_from_template = " <leader>mnt" , -- New Template
87
- insert_header = " <leader>mh" , -- Header (use count for level)
88
- insert_list_item = " " , -- (No default, handled by list continuation)
86
+ insert_header = " <leader>mh" , -- Header
89
87
insert_code_block = " <leader>mc" , -- Code block
90
88
insert_bold = " <leader>mb" , -- Bold
91
89
insert_italic = " <leader>mi" , -- Italic
@@ -111,7 +109,6 @@ require('markdown-tools').setup({
111
109
},
112
110
113
111
-- Command or Lua function to execute for Markdown preview.
114
- -- Example: 'glow %' (requires glow) or `function() ... end`
115
112
preview_command = nil ,
116
113
117
114
-- Apply local buffer settings for Markdown files
@@ -145,7 +142,7 @@ The following commands are available (if enabled in `config.commands`):
145
142
- ` :MarkdownInsertTable ` : Insert a table. Prompts for rows and columns.
146
143
- ` :MarkdownCheckbox ` : Insert a checkbox list item (` - [ ] ` ). In Visual mode, uses selection as text.
147
144
- ` :MarkdownToggleCheckbox ` : Toggles the checkbox state (` [ ] ` <=> ` [x] ` ) on the current line.
148
- - ` :MarkdownPreview ` : Executes the configured ` preview_command ` .
145
+ - ` :MarkdownPreview ` : Preview markdown .
149
146
150
147
### Keymaps
151
148
0 commit comments