]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/wikilink.mdwn
web commit by sundb_89
[git.ikiwiki.info.git] / doc / wikilink.mdwn
1 WikiLinks provide easy linking between pages of the wiki. To create a
2 [[WikiLink]], just put the name of the page to link to in double brackets.
3 For example `\[[WikiLink]]`.
5 If you ever need to write something like `\[[WikiLink]]` without creating a
6 wikilink, just prefix it with a `\`, like `\\[[WikiLink]]`.
8 There are some special [[SubPage/LinkingRules]] that come into play when
9 linking between [[SubPages|SubPage]].
11 Also, if the file linked to by a WikiLink looks like an image, it will
12 be displayed inline on the page.
14 WikiLinks are matched with page names in a case-insensitive manner, so you
15 don't need to worry about getting the case the same, and can capitalise
16 links at the start of a sentence, and so on.
18 It's also possible to write a WikiLink that uses something other than the page
19 name as the link text. For example `\[[foo_bar|SandBox]]` links to the SandBox
20 page, but the link will appear like this: [[foo_bar|SandBox]].
22 To link to an anchor inside a page, you can use something like
23 `\[[WikiLink#foo]]`
25 **Note that you cannot use spaces in WikiLinks**. Replace spaces with
26 underscores. The presence of spaces is used to distinguish between a
27 [[PreprocessorDirective]] and a WikiLink.