I would like to have several links (that are no passage links) of which one could be choosen (single-use). The links should contain text and code but no passage link. (Like
without passage link) And I wouldn't like to use <span id=""> because the passage these links are in will be included and can include itself.
I tried two things:
<<linkappend "Hallo <<linkappend \"Hallo2\">>Hallo2 is appended<</linkappend>><<linkappend \"Hallo3\">>Hallo3 is appended<</linkappend>>">>Hallo is appended<</linkappend>>
<<set $Replacer to "">>
<<linkreplace "Hallo <<link \"Hallo2\">><<set $Replacer to \"Hallo2 was elected\">><</link>><<link \"Hallo3\">><<set $Replacer to \"Hallo3 was elected\">><</link>>">>$Replacer<</linkreplace>>
Both work. For the first: It will leave a "dead" odr "empty" link. One of both doubled links will still be there but nothing happens if clicked. That's looking kind of ugly. Is there a possibility to disable all links completly?
Is that the way to do the thing I want or is there a better way?