Skip to content

Possible feature: heading ids in rendered output so fragment links land #31

Description

@sadigaxund

Found during the cascade-export work. The renderers emit no id attribute on headings, so a link with a fragment, such as a rewritten [[Note#Section]] in a cascade zip or a plain #section link inside one note, lands on the page but not on the section.

Adding stable, slugged heading ids to both renderers would make fragments land in previews, exported HTML, and cascade zips alike. Needs a slugging rule in the spec (duplicate headings, punctuation, case), identical output from both renderers, and a conformance-adjacent test pinning the rule. Low urgency; the cascade rewrite already degrades to a page-level link.

Activity

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