General Actions:
| ... | ... | @@ -14,17 +14,25 @@ |
| 14 | 14 | == Example == |
| 15 | 15 | |
| 16 | 16 | {{code}} |
| 17 | -[[Click here to jump to anchor "someid">> |
|
| 17 | +[[Click here to jump to anchor "someid">>||anchor="someid"]] | |
| 18 | 18 | |
| 19 | - | |
| 20 | 20 | {{id name="someid" /}} |
| 21 | 21 | The "someid" anchor where to jump |
| 22 | 22 | {{/code}} |
| 23 | 23 | |
| 23 | +{{warning}}Note that the link syntax must correspond to the [[syntax of the document where the link is present>>xwiki:XWiki.XWikiSyntax||anchor="HLinks"]]. This means that you have to use: | |
| 24 | + | |
| 25 | +|=Syntax|=Link format | |
| 26 | +|xwiki/1.0 to another document|[jump to anchor>Some.Document#someid] | |
| 27 | +|xwiki/2.0|[~[jump to anchor>>#someid]] | |
| 28 | +|xwiki/2.0 to another document|[~[jump to anchor>>Some.Document#someid]] | |
| 29 | +|xwiki/2.1|[~[jump to anchor>>~|~|anchor="someid"]] | |
| 30 | +|xwiki/2.1 to another document|[~[jump to anchor>>Some.Document~|~|anchor="someid"]] | |
| 31 | +{{/warning}} | |
| 32 | + | |
| 24 | 24 | === Result === |
| 25 | 25 | |
| 26 | 26 | [[Click here to jump to anchor "someid">>||anchor="someid"]] |
| 27 | 27 | |
| 28 | - | |
| 29 | 29 | {{id name="someid" /}} |
| 30 | 30 | The "someid" anchor where to jump |