Dendron supports multiple types of links and formats.
- links to
[local files](assets/think.pdf)(eg. PDFs, PSDs, etc.)
A note file is a Dendron Markdown note.
Regular files are any assets that are not Dendron Markdown notes.
Wiki links support autocomplete. To initiate:
- create wikilink brackets and start typing
- link to specific sections of notes using the
- 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 VS Code intellisense shortcut to trigger the autocomplete
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.
This is a feature that is just beginning to be formed. It is likely to have breaking changes on updates.
- simple things are not always simple to do
- performance is not optimized
You can link to files in your workspace that are not notes using wikilinks. The easiest way to link to a file is using the Copy Note Link command, which will automatically create a link for you.
Otherwise, you need to write inside a wikilink the relative path to the file
from where your
dendron.yml file is located. For example, if the root of your
dendron.yml and a
src folder, you can write
[[src/index.js]]. Alternatively, if you are linking to a file inside the
assets folder of a vault, you can simply type
[[assets/example.py]] to link to it.
When you publish your notes, Dendron shows all children of the note at the bottom.
Backlinks are links that point to the current note.
Types of Backlinks
There are currently two types of backlinks available in the Backlinks view:
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.
You can find further documentation about it here.
For regular links, 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
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.
- regular wiki link:
- wiki link with alias:
- relative link:
You can also use cross vault links for note references.
- note ref:
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 VS Code combo operation.
Converts links of various statuses and kinds.