https://www.dendron.so/ logo
https://wiki.dendron.so/notes/lzviz9odglotrbsgcp67...
# questions
s
https://wiki.dendron.so/notes/lzviz9odglotrbsgcp678i6/
Copy code
Automatically creating file links

The easiest way to link to a file is using the Copy Note Link command, which will automatically create a link for you.

Similar to notes, Copy Note Link command will create a Block Anchors for you if you have a region of text selected.
Manually creating file links

To manually create file links, you need to write the relative path to the file in a Wiki Link

The path should be relative to where your dendron.yml file is located.

For example, if the root of your workspace contains dendron.yml and a folder called src in your project, you can write [[src/index.js]].

Alternatively, if you are linking to a file inside the assets folder of a vault, you can type [[assets/example.py]] to link to it.