0 votes
by (690 points)
edited by

Let's say I have two links

"link1" link one "link2"

and I click link1, now link1's content shows up on the screen.

Currently, this looks like:

|||content

link1

link1content   link2|||

 

When I want it to look like:

|||content

link1 content|||

with link1 and link2 disappearing, but only those links.

How would I do that without going to a new passage?

1 Answer

0 votes
by (159k points)
selected by
 
Best answer

You wrap the links within a named hook and then use the (replace:) macro to replace the links with the content of the selected link.

Some content.

|links>[\
(link: "link1")[(replace: ?links)[Content of link 1]]
(link: "link2")[(replace: ?links)[Content of link 2]]
]

 

by (690 points)
That's why I couldn't figure it out...

...I haven't been the best with nametags
...