Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update doc for :InsertToc and :InsertNToc #526

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions doc/vim-markdown.txt
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ Do not require .md extensions for Markdown links ~
- 'g:vim_markdown_no_extensions_in_markdown'

If you want to have a link like this '[link text](link-url)' and follow it
for editing in vim using the 'ge' command, but have it open the file "link-
url.md" instead of the file "link-url", then use this option:
for editing in vim using the 'ge' command, but have it open the file
"link-url.md" instead of the file "link-url", then use this option:
>
let g:vim_markdown_no_extensions_in_markdown = 1
<
Expand Down Expand Up @@ -605,14 +605,25 @@ The following requires ':filetype plugin on'.
*:Tocv*
- ':Tocv': Same as ':Toc' for symmetry with ':Toch' and ':Tocv'.

*:InsertToc*
- ':InsertToc': Insert table of contents at the current line.

An optional argument can be used to specify how many levels of headers to
display in the table of content, e.g., to display up to and including 'h3',
use ':InsertToc 3'.

*:InsertNToc*
- ':InsertNToc': Same as ':InsertToc', but the format of 'h2' headers in the
table of contents is a numbered list, rather than a bulleted list.

===============================================================================
*vim-markdown-credits*
Credits ~

The main contributors of vim-markdown are:

- **Ben Williams** (A.K.A. **plasticboy**). The original developer of vim-
markdown. Homepage [12].
- **Ben Williams** (A.K.A. **plasticboy**). The original developer of
vim-markdown. Homepage [12].

If you feel that your name should be on this list, please make a pull request
listing your contributions.
Expand Down