With a label and an address, link(label, address) opens an absolute http, https, mailto or tel address, as a link in prose does; any other address gives empty. link(row, label) links to a note, its title the label unless one is given. As text, in a sort, a filter or a join, a link is its label.
Syntax
link(label, address) or link(row, label?)Arguments marked ? are optional. An ellipsis (…) allows more arguments.
Try an example
link("Docs", "https://example.com")Returns "Docs" (link).
Change the example note’s properties
Run the expression to see its result here.
Date examples use 9 October 2026, 12:00 UTC. Examples run in your browser using Shelf’s formula engine.
Use it in your library
The example names the sample note’s properties. In the app, the formula editor shows the same example with your library’s own properties. Write a property name with spaces as prop("Target words"). The formula language reference explains values, operators, and lists.