You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-3Lines changed: 27 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ The `:UpdateToc` command, which is designed to update toc manually, can only wor
108
108
109
109
1. `g:vmt_auto_update_on_save`
110
110
111
-
default: 1
111
+
default: `1`
112
112
113
113
This plugin will update existing table of contents on save automatic.
114
114
@@ -120,7 +120,7 @@ The `:UpdateToc` command, which is designed to update toc manually, can only wor
120
120
121
121
2.`g:vmt_dont_insert_fence`
122
122
123
-
default: 0
123
+
default: `0`
124
124
125
125
By default, the `:GenTocXXX` commands will add `<!-- vim-markdown-toc -->` fence to the table of contents, it is designed for feature of auto update table of contents on save and `:UpdateToc` command, it won't effect what your Markdown file looks like after parse.
126
126
@@ -158,7 +158,7 @@ The `:UpdateToc` command, which is designed to update toc manually, can only wor
158
158
159
159
6.`g:vmt_cycle_list_item_markers`
160
160
161
-
default: 0
161
+
default: `0`
162
162
163
163
By default, `*` is used to denote every level of a list:
164
164
@@ -200,6 +200,30 @@ The `:UpdateToc` command, which is designed to update toc manually, can only wor
200
200
201
201
Include headings before the position you are inserting Table of Contents.
202
202
203
+
9.`g:vmt_list_indent_text`
204
+
205
+
default: `''`
206
+
207
+
The indent text of list item. By default, if `expandtab` is set, it will be `shiftwidth`([2, 5]) number of space, otherwise it will be `\t`. If you set this option, it will override the default behavior.
208
+
209
+
10.`g:vmt_link`
210
+
211
+
default: `1`
212
+
213
+
Whether to generate link for headings.
214
+
215
+
11.`g:vmt_min_level`
216
+
217
+
default: `1`
218
+
219
+
The minimum level of headings to be included in the table of contents.
220
+
221
+
12.`g:vmt_max_level`
222
+
223
+
default: `6`
224
+
225
+
The maximum level of headings to be included in the table of contents.
0 commit comments