-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Backlinks for footnotes #100
Comments
It's done! The JavaScript code is designed to create backlinks for footnotes (the 538 byte minified version is the file that's actually loaded). To enable it, set How it Works
|
.footnote-backlink { | |
font-size: 0.8rem; | |
margin-left: 0.2rem; | |
} |
Live Example
I've enabled the feature in the Markdown examples page.
Footnotes usually have a backlink to the footnote's origin so readers can easily return after reading the note (example).
Zola currently lacks this feature (see getzola/zola#1285 and pulldown-cmark/pulldown-cmark#142).
To add this functionality, I will implement a JavaScript solution that creates backlinks similar to this comment.
It will have the option to be enabled globally in
config.toml
as well as for individual posts.The text was updated successfully, but these errors were encountered: