Nice!! I had tried
links.outbound.. but didn’t think to add
$Path on there for looking stuff up.
I actually came up with something that I think keeps the
$Marked updated, as in it will set it true or false depending on the link configuration:
$Path(original) != "/root"
(that could be anything that excludes stuff that shouldn’t be toggled, which for testing’s sake I just made root)
$Marked(original) = any(myLinks, $Marked);
With your solution, I can keep a
$Tested attribute and know when each note has been tested. To re-test everything, just set all the notes to
$Marked=false. With my solution, the list of
$Marked pages stays up-to-date… but there’s no way to know when it’s finished testing.
I think, given the fact that I don’t need this automatically running all the time, and I want to be confident that each note is tested, that I’d go with your approach.
One last question
These solutions don’t account for the difference between note-to-note links, and text links… I’d like it to only consider text links. Is there a way to do that?