AI 助手
concepts/wikilinks.md
对话

Wikilinks

Wikilinks are a lightweight markup syntax used to create hyperlinks between pages in a wiki or knowledge base. Rather than writing full URLs, authors use a double-bracket notation to reference related concepts by name, letting the system resolve the actual link target automatically. ^[knowledge-compilation.md]

Syntax

A wikilink is formed by wrapping a concept name in double square brackets:

[[concept name]]

When rendered, this becomes a clickable link to the page for that concept. If the target page exists, the link is active; if not, it typically appears as a broken or stub link, signaling a gap in the knowledge base.

Role in Knowledge Compilation

In a Compilation Pipeline, wikilinks are created during the Interlink Resolution stage. After individual pages are generated for each extracted concept, the pipeline scans all pages for concept mentions and wraps them in wikilink syntax. This transforms a flat collection of pages into a connected graph of related ideas. ^[knowledge-compilation.md]

This process is central to what makes knowledge compilation useful — raw sources contain implicit relationships between concepts, and wikilinks make those relationships explicit and navigable. ^[knowledge-compilation.md]

Compatibility

Wikilink syntax is supported natively by tools like Obsidian and many other personal knowledge management applications. The Compilation Pipeline targets this format specifically, generating output with YAML frontmatter and wikilinks to ensure direct compatibility with these tools. ^[knowledge-compilation.md]

Sources