Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] Deep link to HTML elements #572

Open
paulwarren-wk opened this issue Oct 11, 2023 · 0 comments
Open

[REQUEST] Deep link to HTML elements #572

paulwarren-wk opened this issue Oct 11, 2023 · 0 comments
Labels
request New feature or request

Comments

@paulwarren-wk
Copy link
Contributor

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.

@paulwarren-wk paulwarren-wk added the request New feature or request label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant