(Not sure if this is better tagged as a bug or a feature request… let me know if I should move it. First time poster.)
Use case or problem
Currently, the “extract header” option seems to handle links directed towards that specific header, and possibly (i have not confirmed this) subheaders within that section.
However, there also exist chunk links that are clearly identifiable as pointing to something within that section, but those chunk links get broken upon header extraction.
Proposed solution
I would like to expand the functionality of “extract header” to refactor those links as well to point to similar links in the newly created file.
This can maybe be done similarly to how any existing subheading link refactoring works right now (still not sure if that’s actually implemented, I haven’t tested it), just with extra detection for incoming chunk links.
Current workaround (optional)
Currently I’m just going through all existing chunk anchors in the newly extracted section and searching for all inbound links (with grep ) in order to refactor them.
Related feature requests (optional)
Quick keyword search (“extract header”, “chunk link”) did not give me any quickly-apparent related bugs or feature requests