Wiki-Quellcode von Anchor Bridge Macro

Version 2.1 von xwikiadmin am 2022/08/11 16:36

Zeige letzte Bearbeiter
1
2 The Anchor macro implements the Confluence Anchro macro by bridging it to the [[XWiki id macro>>url:https://extensions.xwiki.org/xwiki/bin/view/Extension/Id%20Macro]]. It supports the same parameter "name"
3
4 {{anchor name="test" /}}
5 == Example ==
6
7 Anchor "test"
8
9 {{code}}
10 {{anchor name="test" /}}
11 {{/code}}
12
13 Scroll down to see a link to the anchor:
14
15 \\
16 \\
17 \\
18 \\
19 \\
20 \\
21 \\
22 \\
23 \\
24 \\
25 \\
26 \\
27 \\
28 \\
29 \\
30 \\
31 \\
32 \\
33 \\
34 \\
35 \\
36 \\
37 \\
38 \\
39 \\
40 \\
41
42 == Link to the anchor ==
43
44 If you have scrolled in this window, this link should bring you back at the top of the document.
45
46 Link to the anchor: [[link>>||anchor="test"]]