Link: file.c:12 and the permalink file.c:12:d8K3

A link is an in-prose reference to a file and a position in it. Links are used in code comments, tickets, chats and docs. A link differs from a URI in its minimal syntax. It merely needs a file name and enough of a path to disambiguate. A link is resolved by an index, not by a filesystem. For that reason, absolute or relative paths are unnecessary. Normally, a commit hook converts line-anchored links into permalinks.

Syntax

The grammar accepts ticket | relfile | rooted; a nav target is a ticket code, or a name carrying evidence a known extension, or an anchor past a slash. Examples, one per accepted shape: