Markdown is a minimal markup language that resembles plain text as used in email messages. It is the markup language used by this wiki by default.
To link to or from a SubPage, you can normally use a regular WikiLink that does not contain the name of the parent directory of the SubPage. Ikiwiki descends the directory hierarchy looking for a page that matches your link.
For example, if/SubPage links to "OtherPage", ikiwiki will first prefer pointing the link to /SubPage/OtherPage if it exists, next to /OtherPage and finally to in the root of the wiki.
Note that this means that if a link on SubPage of ./SomePage to "OtherPage" currently links to , in the root of the wiki, and /OtherPage is created, the link will change to point to /OtherPage. On the other hand, a link from to "OtherPage" would be unchanged by this creation of a
You can also specify a link that contains a directory name, like "FooBar/OtherPage" to more exactly specify what page to link to. This is the only way to link to an unrelated SubPage.
You can use this to, for example, to link fromto "FooBar/SubPage", or from /SubPage to "FooBar/SubPage".
You can also use "/" at the start of a link, to specify exactly which page to link to, when there are multiple pages with similar names and the link goes to the wrong page by default. For example, linking from "FooBar/SubPage" to "/OtherPage" will link to the "OtherPage" in the root of the wiki, even if there is a "FooBar/OtherPage".
Also, if the wiki is configured with a userdir, you can link to pages within the userdir without specifying a path to them. This is to allow for easy linking to a user's page in the userdir, to sign a comment. These links are checked for last of all.