I want to create a link target in a Confluence page to link directly to a header in the page. The documentation describes that there is Anchor macro to define such a target.
When editing the page this macro does not exist. I tried 2 ways to get it:
Without the Anchor macro how can I define a link target in a page?
No solution to offer, but I too am dealing with the missing Anchor macro.
Hi Rob,
That's pretty weird that the Anchor macro isn't available. If that header is formatted as a Heading you can always just add a hyperlink formatted as follows:
URL/#PageTitleNoSpaces-HeadingNameNoSpaces
So the anchor URL for a page titled "Team Landing Page" with text "Team Announcements" formatted as a Heading would appear as follows:
URL/#TeamLandingPage-TeamAnnouncements
A user following that link would see their page jump to the top of the Team Announcements Heading.
Good luck!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rob!
I'm not familiar with the slash key or "View more" menus related to macros, but there are other ways to find macros. Let us know if you're able to find the macro with either of these methods:
I hope this helps!
–Zak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That does not work.
Can it be caused by the new page editor, I remember choosing it when creating the page? But I did not understand it would change the available macros.
edit: Just saw this comment that the anchor macro is missing from the new editor.
The "Insert more content" is not present, but I see this:
It contains the option ... View more which show the list of macros. But the "anchor" macro is not included there.
Entering { followed by "anchor" puts that text in the document.
I will recreate a page with the "normal" editor to see if that solves the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.