Skip to content

Backlinks? #344

Description

@sneakers-the-rat

Hello again!

I'd love to add support for backlinks - after the reference in the bibliography, links back to the in-text citations. I think it should be relatively straightforward:

  • add id anchors to the in-text citation links
    • ideal but optional - this would have some configurable prefix, or be able to use liquid/etc. to be able to make some custom ID. Not sure what metadata is available at the time the in-text citation links are generated.
    • Otherwise something like {{ citation.id }}:{{ n_usage }}
  • add links after references back to all id anchors
    • ideal but optional - being able to make use of section numbering so backlinks can be back to "2.3"
    • Otherwise just 1, 2, 3

Normally i'd just dig my way through the code and figure out how to do this myself, but am sort of on a tight timeline. I'd be happy to draft it, but it would be helpful to have some pointers where I might go to do this.

Thanks again for your work on this plugin!!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions