b

basalt-backlinks

@preview

Generate and get backlinks.

v0.1.1
MIT

Package Information

Last Updated

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/basalt-backlinks:0.1.1

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/basalt-backlinks:0.1.1": *

Version History

0.1.1
c168ef515603...
0.1.0
c27965cffbad...

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)

]