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

Add citation and bibliographic entry IDs and the ability to link to bibliographic entries #16

Merged
merged 7 commits into from
Apr 10, 2024

Conversation

arothuis
Copy link
Owner

@arothuis arothuis commented Apr 6, 2024

This PR introduces the following breaking changes:

  • adding <span> wrappers with an id to citations will become default behavior
  • adding bib-ids based on the position in the .bib-file will become default behavior

This is, in general, a useful addition as it leads to more customizability (i.e. via CSS or JS).

Using these ids we can link citation to bibliographic entries.
For this, the linkToBibliography configuration option has been added.

In addition, the following changes are introduced:

  • updated outdated dependencies
  • incremented version number

This resolves #3

@arothuis
Copy link
Owner Author

Considering the size of this PR, I will do some manual testing before merging.

@arothuis arothuis merged commit ef0b4b1 into main Apr 10, 2024
1 check passed
@arothuis arothuis deleted the 3/clickable-refs branch April 10, 2024 20:23
arothuis added a commit that referenced this pull request Apr 10, 2024
Add citation and bibliographic entry IDs and the ability to link to bibliographic entries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: clickable references to bibliography entry
1 participant