Skip to content
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

footnote backreference links #2475

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gambhiro
Copy link
Contributor

@gambhiro gambhiro commented Nov 7, 2024

This adds an option to add backreference links at the end of footnote definitions, so that the user can return and continue reading the main body of the text.

The code is based on the footnote-rewrite.rs example.

It can be enabled with a TOML option:

[output.html]
footnote-backrefs = true

This feature has been requested before in #1927

@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: waiting on a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants