Wiki-Links
Write [[Note Name]] to link to another vault file. Short names resolve across the vault; paths identify a specific destination. Code files such as [[Icon.tsx]] work too.
Table of Contents
Link Two Notes
-
In the workspace, open Add (+ ▾ beside the MDash logo) and choose New File to create
Project Plan.mdin a writable folder. Add a heading or a short note so you can recognize the file when it opens. -
Use Add → New File again to create
Project Review.mdin the same folder, or open it if you already created it in Getting Started. -
Add this line to
Project Review.md:See [[Project Plan]] for the next steps. -
In Preview, select Project Plan to open the linked file in a tab. If more than one file has that name, use
[[./Project Plan.md]]to link to the one besideProject Review.md.
Autocomplete
Type [[ to open suggestions from the vault. Use the arrow keys to choose a note and press Enter to insert it.
Aliases
To show a different label, change the link in Project Review.md:
See [[./Project Plan.md|the project plan]] for the next steps.
The text before the pipe identifies the file. Readers see the project plan as the link label.
Markdown Links
Relative Markdown links also work:
Markdown Source
See [the project plan](Project%20Plan.md) for the next steps.
Relative file links resolve from the folder containing the current file. In this example, %20 represents the space in Project Plan.md. Relative file links receive the same resolved or unresolved styling as wiki-links.
The Links panel includes both wiki-links and relative file links. Use wiki-links when you need autocomplete or aliases. Web URLs open a new browser tab and show an external-link icon; heading and footnote links stay within the current preview.
| Choose | Best For | Example |
|---|---|---|
| Wiki-link | Fast note connections, autocomplete, and aliases | [[Project Plan|the plan]] |
| Relative Markdown link | Portable Markdown with an explicit filename | [the plan](Project%20Plan.md) |
Choose a Precise Destination
Suppose your vault contains the imported ArCaptcha/ folder. From a separate Markdown note at the vault root, an explicit wiki-link path can identify its README even if other folders contain files with that name.
Read [[ArCaptcha/README.md|the ArCaptcha README]].
Read [[/ArCaptcha/README.md|the ArCaptcha README]].
Both wiki-links start from the vault root. The leading / makes that root explicit. Keep .md in this path because MDash also recognizes README as a plain-text filename. An ordinary Markdown link starts from the current file's folder. For example, from inside ArCaptcha/README.md, [the PHP source](ArCaptcha.php) opens the adjacent file.
A short [[README]] is ambiguous if more than one file matches. Opening it lets you choose a file for that visit. Use an explicit path or repair the link through Link Analysis to keep the destination predictable. A label such as the ArCaptcha README makes the link useful in a sentence.
Links in Shared Documents
A shared URL includes only one document. For a link to a heading in the same document, use [Next Steps](#next-steps) to link to a heading named Next Steps. This works in workspace Preview and the shared reader. The shared reader also supports [[#Next Steps]] and a self-reference such as [[Project Review#Next Steps]] in Project Review.md.
Wiki-links to other notes and relative file links use Preview's unresolved-link underline and hover appearance, but remain non-clickable. A tooltip explains that the document is not included. Missing same-document headings are also unavailable. Aliases remain visible and the source stays unchanged. Ordinary heading/footnote links and external web links keep their usual behavior.
Choose Open in MDash to open a matching local copy or add the shared document to your vault, where MDash can resolve links against your files.
Unresolved Links
Clicking a missing file link offers Create File when the destination is writable and uses a supported file format. The dialog shows the complete destination before creating the file and any missing folders. A wiki-link without an extension, such as [[New Note]], creates New Note.md at the vault root. Ordinary relative links keep their exact filenames.
Paths that attempt to leave the vault, malformed paths, unsupported types, and read-only destinations do not offer creation. Multiple matches open Open Linked File so you can select the intended file. Opening it does not rewrite the link.
This lets you write a link before the destination exists.
Resolved links and unresolved links use different visual treatments in Preview. Review unresolved links before exporting or sharing a document so readers do not encounter an unexpected missing destination.
Use Analyze Links from a file, folder, or tab menu to review unresolved destinations in one place. Vault Options can analyze the entire vault. The report lets you inspect occurrences, create eligible missing files, or choose a specific destination without rewriting the visible link text. See Link Analysis for the complete repair workflow, backlink scope, and report limits.
Links Panel
Open Links from the Activity Rail on the left to inspect the active document. Internal lists outgoing vault links, Backlinks lists incoming occurrences grouped by referring file, and External lists web links. Counts represent occurrences. The panel updates after edits and excludes Trash.
Use Filter to match targets, paths, source filenames, and context. The filter stays when changing categories and clears when changing documents. Unresolved filters Internal to missing, ambiguous, or invalid destinations. Analyze Links opens the existing report with the selected category and filter.
Tab enters the results once. Use Up and Down Arrow to move between links, Left and Right Arrow to choose an action, and Enter or Space to activate it. Home and End move to the first and last results. Tab or Shift+Tab leaves the results. Static source-file headers are skipped. These controls also work in Link Analysis, including results outside the current scroll window.
Click an internal destination to open its file and heading when present. Click a backlink occurrence to reveal it in the referring file while preserving that file's view. Preview highlights the containing block when the exact rendered text cannot be identified. External links open in a new browser tab; website availability is not checked.
Click the numbered preview below an Internal or External destination to use View in File. Backlink previews use the same action beneath static source-file headers. This reveals and highlights the occurrence while preserving the file's current or saved view, falling back to the default view for files without a saved preference. Preview reveals the rendered content or its containing block. Editor reveals the exact source range. Split and Stacked reveal both panes. The Link Analysis dialog and Global Search use the same document-location navigation. Preview scrolls smoothly within the active file, respecting reduced motion; opening another file positions it immediately. Parent paths truncate before filenames, and filenames retain their extension.
Resolution Rules
- Matching is case-insensitive.
- You can usually omit Markdown extensions in wiki-links. In a path, keep the extension when the basename is also a supported plain-text filename, such as
READMEorLICENSE. - Ordinary relative links resolve from the containing file's folder, without a basename fallback.
- Wiki-link paths such as
[[Projects/Plan.md]]start at the vault root;[[./Plan.md]]and[[../Plan.md]]start from the containing folder. - A leading
/explicitly starts at the vault root...may move upward within the vault, but cannot escape it. - Short wiki-link names search the live vault. Duplicate names require a choice; autocomplete inserts a path when necessary.
- Files in Trash are excluded from navigation, autocomplete, and backlinks.
Rename and Move Linked Notes
Update Internal Links Automatically is on by default under Settings → Vault. When you move or rename an item, MDash repairs wiki-links and relative file links in editable Markdown documents if each link resolved to a single file before the change. Moving a containing folder can also change relative paths. MDash preserves labels, aliases, fragments, and link titles and leaves code examples untouched.
For example, renaming Project Plan.md to Delivery Plan.md can update [[Project Plan]] to [[Delivery Plan]]. An alias can preserve the original sentence:
Review the [[Delivery Plan|project plan]] before the meeting.
See Vault Organizer for moving or copying several files and reviewing destination conflicts.
Link updates are included in the immediate Undo action. Keep a backup before a large reorganization, and review ambiguous duplicate basenames before applying bulk moves.
Useful Patterns
- Glossary: create one short note per term and link to it when needed.
- Daily Log: link people, projects, and decisions from dated notes.
- Concept Notes: create lightweight stubs, then expand them as ideas develop.
Troubleshooting
- If a wiki-link offers several files, use the intended file's path to make it unambiguous.
- If a relative link stays unresolved, check its path from the containing folder and whether its target is in Trash.
- Backlinks update after vault content changes. Open the target note to review its current list.