Skip to content

Subsequent footnote references of the same footnote only point back to the first reference of the footnote #167

@angusforrest

Description

@angusforrest
  • Extension Name:marked-footnote
  • Extension Version: 1.2.4
  • Project Version: ?
  • Device: [e.g Desktop] Desktop
  • OS@version (or Browser): macOS15.3
  • Node And NPM Version: deno 2.1.9

Description

If you have multiple footnotes that link to the same footnote, additional backarrows are created but are all linked to the only first footnote location

To Reproduce (⚠️ read below)

https://codesandbox.io/p/sandbox/dyk3c8

Expected Behavior

The subsequent references to footnote link back on additional arrows to their own reference

Actual Behavior

All arrows lead but to the first instance of the footnote

Additional Information

I don't know if this is in spec or not but It seems like it should work where the other arrows lead back to their own reference. Looking at the Github implementation, it works as expected

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