Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,157
Community Members
 
Community Events
165
Community Groups

Anchor macros are back on Confluence Cloud!

Hi Community,

I’m Mike Egan, a Senior Developer on Confluence Cloud, and am super excited to share that the LONG awaited, HIGHLY requested Anchor Marco is BACK! And even better!

How does it work?

1. Find a place you want people to link to. It can be In the middle of a paragraph, next to a picture, in a table, etc. The possibilities are endless.

2. Add the anchor. Just use the slash command to type “/anchor”. Or add it through the + button at the top of the editor.

image-20210224-034330.png

3. Name the anchor. This name becomes part of the link used to find the position on the page. (Note you cannot put a % in the name.)

image-20210226-205743.png

4. See the anchor!

image-20210226-023448.png

5. Link to the anchor. Using the slash command, type “/link” and start typing the name of the anchor you just created (starting with a “#”). Another option is to add the anchor name to the end of the page URL.

image-20210226-023746.pngimage-20210226-023825.png

And that’s it!

We thank you for your feedback, we read every piece. We know how much you loved this feature and we’re excited to finally ship it to you!

Anchor away mates,

The Confluence Cloud Team

15 comments

Thank you for bringing this feature back! It hasn't quite rolled out to our site yet, but really looking forward to it!  We have some legacy editor pages that we'll finally be able to convert.

Like # people like this

This has the same old deep linking problem.  It works from the same page, but when you try to reference it from another page, it doesn't bring you to the location.

Like Дима Зайцев likes this

Super useful - thanks!

Is there a way to to reference the anchors in links from Jira or other products?

Like Cortlandt _ likes this

@Carl Keller   You should be able to use the full page link with the anchor at the end, e.g. https://<yourdomain>.atlassian.net/wiki/spaces/EN/pages/28219999/Engineering+Principles/#RotationMembers. But as has been the problem with deep links here for a while, on a page with non-trivial content, like one containing a table-of-contents, the link doesn't bring you to the correct place on the page.

Seems that Atlassian would earn more respect from experienced users if they just admit the mistake in judgement/design of removing the Anchor in the first place.   Instead this reads to me like selling (or covering up) a bug fix like it was a new feature.   
 

Like # people like this

Should the linking part work with auto-generated anchors on headings? It doesn't seem to work right now.

Like # people like this

glad :) this came back. i missed it :( 

Thanks for adding the missing feature back but unfortunately it does not seem to work within a Confluence Expand macro ( /Expand ). Any way to do this in an Expand?

Like Peter White likes this

I have been using Confluence Cloud for a while now, Atlassian removed Macros and since three years they have been saying that they will get the Macros back again but nothing happens. I find this behavior unprofessional, prefer to say that it will never come back for Cloud instead of always claiming that you are working on it, that it will come back. There is no reason to cheer because you brought something unimportant back (anchor for example), we want the macros back.

Like # people like this

Nice to have the anchor feature back!
Now please solve this one also:
https://jira.atlassian.com/browse/CONFCLOUD-67648

Phill Fox Community Leader Apr 06, 2021

Great to see the return of the Anchor to Confluence Cloud. Can you confirm that this has also been considered and implemented in the Confluence Cloud Migration Assistant?  As this will be essential for those organisations waiting for this functionality before migrating. 

Would love the ability to colorize the anchor to draw attention "there", similar in a sense to Chrome's "Highlight copy link to highlight" feature, which sets yellow on the text, that the link anchors too. 

For example, this link was taken from Chrome's  "Highlight copy link to highlight" feature.  When selecting the link below, it will direct to a new page, and after settled in, highlights the text that was selected:  https://community.atlassian.com/t5/Confluence-articles/Anchor-macros-are-back-on-Confluence-Cloud/ba-p/1632437#:~:text=3.-,Name%20the%20anchor,-.%20This%20name%20becomes 

Hmmm not working!!!

Created anchor and then link as shown above. Anchor page is glossary of terms and is more than a page long. Anchor does not force scroll to the anchor location. Pretty useless function. Hope I am missing something! I am running cloud version of Confluence.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

157 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you