Link Search Menu Expand Document

Links

Dendron supports multiple types of links and formats.

  • [markdown links](./dendron.md)
  • [[wiki links]]
  • [[labelled|wiki links]]
  • ![image links](https://foundation-prod-assetspublic53c57cce-8cpvgjldwysl.s3-us-west-2.amazonaws.com/assets/logo-256.png)
  • links to [local files](assets/think.pdf) (eg. pdfs, psds, etc)

Markdown links can be used for local files and stuff on the internet (websites, images, blogs etc.). The Markdown Shortcuts: Toggle hyperlink command makes this operation really easy. You can even bind this to a shortcut key combination. We'd recommend using 'cmd/ctrl + K' to get the usual application behavior or 'cmd/ctrl + U' if you want to continue using ctrl+k as part of the usual VSCode combo operation.

Wiki links support autocomplete. To initiate:

  • create wikilink brackets and start typing
  • link to specific sections of notes using the [[wiki link#header]] syntax.
    • NOTE: relative links will not go to the anchor if clicked on the preview, in that case, it becomes a normal link to the file
    • NOTE2: doesn't work when exported through a pod
  • use the vscode intellisense shortcut to trigger the autocomplete

Highlights

Wiki links also have support for 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.

When you publish your notes, Dendron shows all children of the note at the bottom.

Backlinks are links that point to the current note.

There are currently two types of backlinks available in the Backlinks view: Linked and Candidates.

Linked backlinks are regular wiki links that are pointing to the current note.

  • NOTE: The link candidate feature of the backlinks panel is currently disabled by default. 'Accessing the Backlinks view' section below goes over how to enable it.

Candidate backlinks are plain text words that match the name of the current note, which can potentially be converted into a (linked) backlink.

Dendron has a backlinks panel which shows all notes with links to the current note. This will also show up underneath children Links on published pages.

You can find further documentation about it here

For links to a file format Dendron does not support, you can highlight the link and use > Dendron: Open Link to open the file using your operating system default for that file. This also applies to opening paths to folders.

Cross vault links are a way of exactly specifying a note in a multi vault workspace. You can turn a regular link into a cross vault link by adding dendron://$vaultName/ prefix where $vaultName is the name of your vault.

Some examples:

  • regular wiki link: [[dendron://vault/foo]]
  • wiki link with alias: [[Foo Note|dendron://vault/foo]]
  • relative link: [[Foo Note|dendron://vault/foo#header1]]

You can also use cross vault links for note references.

  • note ref: ![[dendron://vault/foo]]