6.2 Notenik Markdown Parser ↑
6.2.2 Wiki Style Links
Index: wiki-style links; double-bracket links; note-to-note links;
Notenik allows the user to create a link from one Note to another Note within the same Collection.
In order to enable this option, the user must be using Notenik's own internal Markdown parser.
The Notenik Markdown parser supports double-bracket wiki-style links as an extension to the original Markdown spec from John Gruber.
If you are using Notenik's parser, then a link to another Note may be coded by simply enclosing the title of the target Note within double square brackets, like this – [[Overview]]
– and a click on the resulting link will take you to that note.
Since it is often tempting to title a Note using the plural form of a word – but also common to want to refer to that Note using the singular form – if a wik-style link does not immediately find its target, an ‘s’ will be added to the link internally, and the resulting Note will be used as the target, if such a Note exists.
If you code a wiki style link, in double square brackets, to a Note that does not yet exist, then after saving the edits to the Note and redisplaying it, the new Note (the target of the link) will be created for you automatically. The new Note will have the targeted Title assigned, but with all other fields blank.
If you also enable the timestamp field for a Collection, then you can change the title of a linked Note without changing the referencing wiki link text, and Notenik will remember the association between the old title and the new title, making use of the timestamp field to preserve a unique, unchanging identity for each Note. These associations will be saved in a special file named ‘alias.txt’, within the Collection folder. This functionality can be useful to make sure you don't end up with broken links between Notes.
Next: Heading auto-numbering