This workspace extension inserts auto-incrementing footnotes in Markdown files for EPUB/Kindle.
Use the command: Insert Auto Footnote
Or bind it to a keybinding such as ctrl+alt+end.
Features
- Auto-incrementing footnote numbers
- Each selection gets a unique number
- Footnote number repeats inside the question
- Works with selected text
- Kindle/Pandoc compatible
Example
After selecting text and running the command:
[^1] **What is the largest planet in the Solar System?**
[^1]: Jupiter is a gas giant.
[^2] **Which protocol is connectionless?**
[^2]: UDP
Keybinding
[
{
"key": "ctrl+alt+end",
"command": "mdfoot.insertFootnote",
"when": "editorTextFocus && editorLangId == 'markdown'"
}
]
Installation
Place the folder here:
.vscode/md-footnote-snippet/
Containing:
package.json
extension.js
README.md
Support
For issues or feature requests, visit GitHub Repository or contact support.
Contributing
Feel free to fork the repo, submit pull requests, or open issues
Links
License