Follow denote: links and count them as backlinks !385

merged merged by cmc on 2026-11-19 16:22 UTC · krz/orgstar:denote-links into main

Discussion

cmc
  • denote registered as a link type (Links.types) and in [[ completion.
  • Following denote:ID[::search] finds the file by the identifier in its name (leading, or after @@), preferring .org, then runs the :: search.
  • Backlinks: denote:ID targets the file, denote:ID::#id / ::*Heading the heading.
  • Tests: DenoteTests, BacklinkTests.followsDenoteLinks, LinkFollowTests.followsDenoteLinks. Full swift test passes.