Documentation Index
Fetch the complete documentation index at: https://mintlify.com/xwmx/nb/llms.txt
Use this file to discover all available pages before exploring further.
nb supports [[wiki-style links]] between notes, bookmarks, and other items, turning your notebook into an interconnected knowledge base. Links are written directly in the body of any document using double square brackets, and nb browse renders them as clickable navigation links in both terminal and GUI browsers. This makes nb a capable platform for Zettelkasten, personal wikis, and other link-based note-taking methods.
Link Syntax
A wiki-style link wraps an item identifier in double square brackets:[[identifier]]. The identifier can be an item’s numeric ID, its title, its filename, or a relative folder path combined with any of those forms.
Linking Within the Same Notebook
Linking Across Notebooks
Prefix the identifier with the notebook name and a colon to link to items in other notebooks:Custom Link Text
Append a pipe| character followed by the display text to render a link with a label that differs from the identifier:
A Complete Linking Example
The following shows a small set of notes that reference each other using all three identifier forms:How nb Resolves Links
nb resolves [[wiki-style links]] by matching the identifier against items in order:
Filename Match
The identifier is first checked against item filenames and relative paths.
ID Match
Numeric identifiers are resolved to the item with that ID in the index.
Title Match
If no filename or ID matches,
nb searches item titles for the identifier.[[notebook:identifier]]), the same resolution order applies within the target notebook.
Browsing Linked Notes
When viewing items withnb browse, every [[wiki-style link]] is rendered as a clickable hyperlink. Selecting a link navigates to the target item, and the browser’s back navigation returns you to the linking document.
Zettelkasten and Knowledge Mapping
Wiki-style links makenb well-suited for Zettelkasten workflows. Each note can act as an atomic idea that links to related concepts:
nb browse in any terminal.
Org-Mode Compatibility
[[wiki-style links]] are designed to cooperate with Org links, which use a similar double-bracket syntax. This makes it practical to maintain a mixed collection of Markdown and Org files that link to each other.
Related: Bookmark Related Links
When saving bookmarks, use the## Related section (written by hand or via notes) to track associated links alongside [[wiki-style links]]:
For a full reference on item selectors used in links, see the Selectors documentation. For information on navigating links in the browser, see the Browsing guide.