Include heading and block links in navigation history

Use case or problem

I have some really long files containing lots of headings, and many links to headings in other places within the file.

I would like to be able to use the forward/back buttons to quickly jump to a link, then return to where I was. This works perfectly with links to headings in other files but not to links to headings within the same file; no history marker is recorded when a link to a heading within the same file is followed.

Proposed solution

Record history markers when following links that point to places within the current file, so that the forward/back buttons can be used.

Related topics (optional)


The requested behavior is how web browsers behave, so there is precedent.

Renamed for clarity (was “History within files should be recorded”).


Yes, this would be cool. A flight recorder.

1 Like