0.3.0 • Published 8 years ago
gitbook-plugin-printlinks v0.3.0
printlinks
Add footnotes or a glossary of links for ebook/pdf versions of your gitbook
Usage
Just add the plugin on the plugins array of your book.json file:
{
"plugins": ["printlinks"]
}
To show external links in a glossary, add this to the pluginsConfig
field in your book.json
:
"printlinks": {
"externalLinksAreReferences": true
}
and then add a block like this on a page in your book, where you want the glossary to be:
{% printlinks %}
# External References
Here all external resources are listed, that are referenced with in this book.
{% endprintlinks %}
To do
- Show alert for duplicated links
- Sort footnotes and footnotes ids by their position on the text. Current ones using text ids has preference