Package Information
- Last Updated
- Authors
- Gabriel Talbert Bunt
1. Get the package
Download the package using the TPIX CLI:
tpix get @preview/basalt-backlinks:0.1.12. Import in your Typst file
Add this to your .typ file:
#import "@preview/basalt-backlinks:0.1.1": *A Typst package for generating and getting backlinks.
Usage
#import "@preview/basalt-backlinks:0.1.1" as backlinks
#show: backlinks.generate
Here's <linktome> some content I want to link to.
#pagebreak()
I'm #link(<linktome>)[linking] to the content.
#pagebreak()
I'm also #link(<linktome>)[linking] to the content!
#pagebreak()
#context for (i, forward) in backlinks.get(<linktome>).enumerate() [
#link(forward.location())[Backlink] for \<linktome> (\##i)
]