Wikilinks
Wikilinks connect notes into a graph. pkm extracts them during indexing and stores both the raw target and the resolved note ID when possible.
Supported Forms
Section titled “Supported Forms”[[Note]][[Note|display text]][[Note#Heading]][[Note#^block-id]]![[Embedded Note]]Display text, headings, and block fragments are stripped before storage. The normalized target is used for resolution.
Resolution Order
Section titled “Resolution Order”pkm resolves a link by checking:
- Link path without
.md - Filename stem
- Frontmatter
title - Frontmatter
aliases
This means a generated file like DAG - user_events_daily.md can still be found through an alias such as DAG: user_events_daily.
Backlinks
Section titled “Backlinks”Backlinks ask the reverse question: which notes point here?
pkm backlinks "DAG: user_events_daily"Forward references ask what a note points to:
pkm backlinks refs "DAG: user_events_daily"