ixbrl-viewer icon indicating copy to clipboard operation
ixbrl-viewer copied to clipboard

[REQUEST] Deep link to HTML elements

Open paulwarren-wk opened this issue 1 year ago • 0 comments

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 avatar Oct 11 '23 18:10 paulwarren-wk