Skip to content

footnotes #69

Closed
Closed

Description

@cerrsys

Footnotes should link both ways. On Mac they do not work at all in the (split) preview pane.

Activity

  1. adibhanna commented on Jun 10, 2026

    @adibhanna
    Contributor

    Fixed — and they now link both ways.

    Cause: footnote references and the ↩ back-references are in-page anchors (#…fn-1 ⇄ #…fnref-1). The preview's click handler was swallowing those clicks, and the browser's native hash-scroll doesn't reach a target inside the preview's scrollable pane regardless — so nothing happened in preview/split.

    Fix: the preview now resolves #-fragment links against its own container and scrolls the target into view (with a brief highlight). Clicking a footnote number jumps to its definition; clicking the ↩ jumps back to the reference. Heading/TOC anchor links benefit too.

    Verified against the demo tour's 06 — Callouts and Footnotes note. Fixed in #89 — ships in the next release (v2.2.0). Thanks for flagging it! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions