Zettelkasten

Posts tagged “script”

Insert a List of Backlinks Into All Your Notes

Andy Matuschak shared a script called note-link-janitor with us the other day that maintains a list of backlinks in all of your Markdown notes. And yes, by “maintains” I really mean “maintains”: if it doesn’t exist, it adds a ## Backlinks section at the end of each Zettel with a list of incoming links, and it updates the section on subsequent runs. This means you can run the script as often as you’d like, and it always produces an up-to-date result – as opposed to, say, naively adding a new ## Backlink section time and time again. When you run the script regularly, you’ll always have an up-to-date backlink list in your notes. Neat.

Continue reading...