Feature #44433
openAllow linking to and automatically expanding a specific collapse section
Description
The {{collapse}} macro creates a collapsible section that can be expanded and collapsed interactively in the web interface.
However, there is currently no way to create a link that opens a specific collapse section in its expanded state.
This would be useful when linking directly to a particular collapsed section, especially from email notifications, but it could also be useful in other contexts.
Expected behavior¶
It should be possible to identify a specific collapse section in a URL. When the corresponding page is opened using such a URL, the specified collapse section should be automatically expanded.
For example, a URL could contain a fragment identifier or another suitable parameter:
/some/page#collapse-xxxx
or:
/some/page?collapse=xxxx
The exact URL format is open for discussion.
No data to display