Skip to content

[REQUEST] Deep link to HTML elements #572

Open

Description

@paulwarren-wk

What should we change and why?

It's currently possible to link to an XBRL element via a fragment in the viewer URL (e.g. #f-f1 links to the fact with ID f1).

It would also be useful to be able to link to HTML elements via id attributes. This currently works in a single-document viewer in non-stub-viewer mode.

This was discussed here

We would need to resolve how to deal with conflicts (on the above, @brettkail-wk suggested using a format that always starts with a number for fact fragment IDs, which would be illegal for an actual id attribute). Another possibility would be to use a different format for HTML fragments, e.g. #h-.... This would make it possible to construct a format that copes with multiple documents in the viewer, but would mean that existing cross links between documents would not work.

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

    requestNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions