Modify ↓
#6413 closed enhancement (fixed)
How do I make an arbitrary anchor (not a heading) in a wiki-page?
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | 0.12 |
Component: | wiki system | Version: | 0.10.4 |
Severity: | minor | Keywords: | anchor |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I guess I want to do something like this for instance:
bla bla, see [wiki:ThisPage#item1 item 1] - [[Anchor(item1)]] This is item 1 - [[Anchor(item2)]] This is item 2
Attachments (0)
Change History (3)
comment:1 by , 17 years ago
Component: | general → wiki |
---|---|
Milestone: | → 0.12 |
Owner: | changed from | to
Severity: | normal → minor |
Type: | task → enhancement |
comment:2 by , 15 years ago
Milestone: | next-major-0.1X → 0.12 |
---|
Note:
See TracTickets
for help on using tickets.
You can already do this in 0.11 with the following wiki syntax:
However, a more user friendly syntax for setting the anchor would be nice. You probably already know that one can specify the ids for headings using the following syntax:
Something like that could be used for setting an anchor without the need for a heading:
This makes it similar to the syntax for linking to an anchor, with the
=
character used to mean that it's for setting the anchor. At the same time that character is a reminder of the== heading == #id
way.