Summary: Rückgängig gemacht auf den Stand vom 2013-08-24 11:21 UTC
< Clicking the ''anchor definition'' itself runs a ''WikiModes for the anchor text'', just as if you had typed it into the '''WikiModes''' field at the bottom of the page.
> Clicking the ''anchor definition'' itself runs a ''search for the anchor text'', just as if you had typed it into the '''Search''' field at the bottom of the page.
You can define anchors on a page. You can then link to these anchors from another page or from the same page. Anchors can be hidden or visible.
See also Oddmuse:Local Anchor Extension for more on permanent anchors.
You can create a hidden anchor on a page to serve as the target of links. To define a hidden anchor, use square brackets and a single colon:
You can link to a hidden anchor from the same page by preceding it with a pound sign (
#) and enclosing this in double brackets. For example:
You can link to a hidden anchor from a different page by using the target page name, followed by a pound sign, all enclosed in double brackets. For example:
The name of a hidden anchor must be unique on its page; it need not be unique throughout the wiki.
You can Create a Visible Anchor on a page to serve as the target of links. A visible anchor is different from an HTML named anchor such as
<A NAME="...">, which is hidden unless you use some special CSS to do otherwise.
To define a visible anchor, use square brackets and two colons:
When this anchor is rendered in the browser, it appears like this: MyVisibleAnchor.
Note: As of 2009-07-16, a visible anchor cannot start a page and be on a line with other text because of a bug in the Wiki engine. As a workaround, either have a single newline after the anchor, or wrap the anchor in triple quotes as
'''[::MyVisibleAnchor]'''. The latter is sufficient since an alias that starts a page can and should have bold emphasis anyway. Some visible anchors are acronyms or abbreviations for things about Emacs. Consider putting them after the expanded phrase in parentheses.
You can link to a visible anchor as usual, just as if it were the name of a Wiki page: MyVisibleAnchor. If you are not using mixed uppper- and lowercase letters in your anchor, or if you need to include spaces, use double brackets around the link.
[::Create a Visible Anchor]
The link would appear as follows:
It should be formatted as:
[[Create a Visible Anchor]]
Clicking the anchor definition itself runs a search for the anchor text, just as if you had typed it into the Search field at the bottom of the page.
The name of a visible anchor must be unique throughout the wiki; unlike HiddenAnchors.
See Oddmuse:Permanent Anchors for the full story on visible anchors.