MarkdownFootnotes : Insert Extended Markdown Footnotes with Vim
script karma |
Rating 4/1,
Downloaded by 660 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
David Sanson |
|
script type |
utility |
|
description |
This script is a modification of the venerable vimfootnotes (vimscript #431), for use with extended markdown. The most recent version is available on github:
https://github.com/vim-pandoc/vim-markdownfootnotes/
The original vimfootnotes inserts footnotes that look like this:
Here is some text.[1]
[1] Here is a note.
The new script inserts footnotes in the widely supported extended markdown syntax,
Here is some text.[^1]
[^1]: Here is a note.
The original script inserts footnotes at the end of the file or before an email sig line, if there is one. The new script inserts all footnotes at the end of the file.
The script defines two mappings,
<Leader>f Insert new footnote
<Leader>r Return from footnote
To insert a footnote, type f. A footnote mark will be inserted after the cursor. A matching footnote mark will be inserted at the end of the file. A new buffer will open in a split window at the bottom of your screen, ready to edit the new footnote. When you are done, type r to close the split and return to the main text.
|
|
install details |
Drop markdownfootnotes.vim in your plugin directory.
Or use Pathogen (vimscript #2332). |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 52.15.60.240
|