Link Structure |
Description |
[[Title of Draft]] |
Open a draft with the specified title. This will search for and open a draft with "Title of Draft" in the first line of the draft. If more than one is found, it will offer to search to help you locate the correct draft - if none is found, it will offer to create a new draft with the first line "Title of Draft" and open it. The search is loose, so would also match a draft with the title "# Title of Draft". |
[[d:Title of Draft]] |
This format is the same as above, but can be used if it is important to avoid possible conflicts. |
[[u:UUID-OF-DRAFT]] |
Open a draft with the specified UUID. Useful to force linking directly to a known draft. The draft will not be created if it does not exist. Useful in cases where matching by title may not be reliable and specific enough and you would rather link to a specific draft by its identifier. |
[[w:Workspace Name]] |
Open the named Workspace. |
[[s:Search String]] |
Open quick search to a search for the search term/phase used. |
Wiki-style links can also be used to link directly to a navigation marker within a longer draft, using the format [[Title of Draft/Marker Name]]
. Navigation markers are defined by the syntax definition, and are used by Drafts Navigation features.
The most common use of marker linking would be to navigate directly to a specific header in a Markdown document. For example, a link like [[Title of Draft/Section 1]]
would open the Draft titled "Title of Draft", and scroll directly to a header "# Section 1" (or "## Section 1", etc.).
Due to the use of the / forward slash character, if you have links to titles which contain a /, it will need to be escaped to function properly. For example a draft titled "Blue / Green" would be linked to as [[Blue \/ Green]]
.