backlink(2/0)

Navigate source backlinks in vim

If you’ve begun to use backlinks on your static site and you also use Vim as your primary text editor then you’ll appreciate how cool it is to configure Vim’s gf command to navigate via backlinks. My files aren’t referenced relative to my current directory so I need to take more steps to configure gf, but if the files are sourced relative to one another then you won’t even need these steps.…

Display backlink preview on hover

The combination of microformat2 h-entry and backlinks is potent. Each note page that’s marked up with a e-content microformat2 property can be retrieved via fetch() and displayed as a preview elsewhere on the site. No database required; the website is the API. With these two snippets you can implement dynamic backlink functionality on pretty much any webpage. With a little standardization (mostly complete by the microformat2 standard), one could support backlinks across websites.…