Wiki Link
Relative links will not go to the anchor if clicked on the preview.
In this case, it becomes a normal link to the file
Links to headers will not work when exported through a pod
Summary
Wiki links are links surrounded by the two pairs of opening and closing brackets (eg. [[hello]]
)
Details
Getting started
Alias
By default, wikilinks are rendered as the linked note's title when viewed by the note preview or when published. You can change how wikilinks are rendered by giving them an alias. To give an alias to a wikilink, simply add the alias in front of the wikilink followed by a |
like so:
Wikilinks are [[awesome|some-awesome-note]]!
Wikilinks without alias are also called Naked Links
Autocomplete
- Type
[[
to trigger the autocomplete - Link to specific sections of notes using the
[[wiki link#header]]
syntax - Use the VS Code intellisense shortcut to trigger the autocomplete
Syntax highlighting
Wikilinks also have support for syntax highlighting in the editor. Existing notes will be highlighted in blue, and missing notes will be highlighted in yellow. The exact shade of color depends on your theme.
Previewing the note that is linked
You can preview the content of the note that the link is pointing to by hovering your mouse over the wikilink.
Backlinks