Wikilink Syntax
Wikilinks use double square brackets:Note Name.md in your space.
Creating Wikilinks
- Type Manually
- Autocomplete
- Paste
Type
[[ to start a wikilink. Glyph shows an autocomplete menu with matching notes:- Type
[[ - Start typing the note name
- Use arrow keys to navigate suggestions
- Press
EnterorTabto select - Type
]]to close (or it’s added automatically)
Wikilink Features
Display Names (Aliases)
Show different text than the note name:2024-01-15.md.
Headings and Anchors
Link to specific sections within a note:Combining Alias and Anchor
Block References
Link to specific blocks (paragraphs) using^:
Embedded Images
Use! prefix to embed images:
.png,.jpg,.jpeg.webp,.gif,.svg.bmp,.avif.tif,.tiff
Link Resolution
Glyph resolves wikilinks intelligently:By Filename
Note.md anywhere in your space.
With Path
Ambiguity Handling
If multiple notes have the same name:- Glyph prefers the note closest to the current note’s folder
- Use a path to disambiguate:
[[projects/Meeting Notes]]
Wikilinks are case-insensitive.
[[Note]], [[note]], and [[NOTE]] all link to Note.md.Unresolved Links
When a wikilink points to a non-existent note:- It’s styled differently (typically dimmed or marked)
- The
unresolvedattribute is set totrue - Clicking it can create the note (if your workflow supports it)
Backlinks
Backlinks are automatically discovered and displayed:How Backlinks Work
- You create a link from Note A to Note B:
[[Note B]] - Glyph indexes this relationship
- When viewing Note B, Glyph shows “Linked mentions” at the bottom
- The backlinks section lists all notes that link to Note B
Backlinks Display
Backlinks appear at the bottom of the editor:Search and Autocomplete
The wikilink autocomplete searches:- Note titles: Matches against the filename (without
.md) - Note paths: Full relative path in your space
- Fuzzy matching:
proj notesfinds “Project Notes” - Limit: Shows up to 8 results by default
Autocomplete Behavior
- Opens on
[[: Menu appears immediately - Filters as you type: Results narrow down
- Keyboard navigation: Arrow keys to move, Enter/Tab to select
- Mouse selection: Click any item to insert
- Dismiss: Press
Escor click outside
Link Updates
When you rename or move a note, Glyph automatically:- Finds all wikilinks pointing to the old location
- Updates them to point to the new location
- Preserves aliases and anchors
- Re-indexes backlinks
Markdown Links vs Wikilinks
Glyph supports both syntaxes:- Wikilinks
- Markdown Links
Syntax:
[[Note Name]]Pros:- Shorter syntax
- Autocomplete built-in
- Automatic link updates on rename
- Backlinks indexed
Both link types work in Glyph. Use wikilinks for internal notes and markdown links for external URLs or when you need standard markdown compatibility.
Working with Wikilinks
Building a Knowledge Graph
Create connections as you write:MOCs (Maps of Content)
Create index notes with many wikilinks:Daily Note Links
Reference daily notes chronologically:Technical Details
Link Indexing
Glyph uses SQLite to index wikilinks:- Real-time indexing: Links are indexed as you type
- Fast lookups: Backlinks load instantly
- Incremental updates: Only changed notes re-index
Link Storage
Wikilinks are stored as plain text in markdown files:- Format:
[[target]]or[[target|alias]] - Encoding: UTF-8
- Preservation: Original syntax is never modified (except during rename)
Performance
Wikilink autocomplete is optimized for large spaces:- Debounced queries: Waits for typing to pause
- Indexed search: Uses SQLite FTS for speed
- Result limiting: Shows top 8 matches