This repository was archived by the owner on Mar 9, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1
1
## VimFootnotes for Markdown
2
2
3
- This fork is a slight tweak of the venerable [ vimfootnotes] ( http://www.vim.org/scripts/script.php?script_id=431 ) , for use with extended markdown.
3
+ This fork is a slight tweak of the venerable [ vimfootnotes] [ ] , for use
4
+ with extended markdown.
4
5
5
6
The original script inserts footnotes that look like this:
6
7
8
+ [ vimfootnotes ] : http://www.vim.org/scripts/script.php?script_id=431
9
+
7
10
~~~
8
11
Here is some text.[1]
9
12
10
13
[1] Here is a note.
11
14
~~~
12
15
13
- The new script inserts footnotes in the widely supported extended markdown syntax,
16
+ The new script inserts footnotes in the widely supported extended
17
+ markdown syntax,
14
18
15
19
~~~
16
20
Here is some text.[^1]
@@ -22,6 +26,22 @@ The original script inserts footnotes at the end of the file **or**
22
26
before your email sig line. The new script inserts all footnotes at the
23
27
end of the file.
24
28
29
+ The script defines two mappings,
30
+
31
+ ~~~
32
+ <Leader>f Insert new footnote
33
+ <Leader>r Return from footnote
34
+ ~~~
35
+
36
+ To insert a footnote, type ` <Leader>f ` . A footnote reference will be
37
+ inserted after the cursor. A matching footnote reference will be
38
+ inserted at the end of the file. A new buffer will open in a split
39
+ window at the bottom of your screen, ready to edit the new footnote.
40
+ When you are done, type ` <Leader>r ` to close the split and return to
41
+ the main text.
42
+
43
+ ![ Screenshot] ( https://raw.github.com/vim-pandoc/vim-markdownfootnotes/master/footnotes.png )
44
+
25
45
* * * * *
26
46
~~~
27
47
" Maintainer: David Sanson <[email protected] >
You can’t perform that action at this time.
0 commit comments