How to create an anchor

This question is in reference to Atlassian Documentation: Anchors

I struggle to create an anchor within a page in my personal space. The anchor symbol shows in the editing mode. When I press "save" it does not show in the viewing mode. What am I doing wrong? If you answer, please do not just refer to the "how to create an anchor help page". I followed the instructions there...

4 answers

This widget could not be displayed.

Hi @Lea Sauer

You would not normally see the anchor on the display when you save the page but if you inspect the page source you should see that it is present. 

I have an example here where an anchor is on the heading Tangible Benefits in the document entitled ROI.

<h3 id="ROI-tangibleTangibleBenefits">

 <span class="confluence-anchor-link" id="ROI-tangible"></span>

 Tangible Benefits

 </h3>

For clarity I have split the row up to show the different elements. The interesting point is the <span class="confluence-anchor-link"... which is what gets inserted to mark an anchor.  Then if you wish to link to this anchor you can.

Regards

Phill


This widget could not be displayed.

This is not a direct answer to the original question, but I believe it could help the author. I am the author of Requirement Yogi. It is only available for Confluence Server.

I've had difficulties with anchors too and I couldn't use them to link to specific places in requirement documents. Therefore I've created Requirement Yogi. The principle is simple: You can insert a requirement macro in the text, assign it a key, and you can reference this key from other places. When clicking on a reference, it jumps to the anchor in the original text.

This widget could not be displayed.

You won't see any indication that there is an anchor in "view" mode.

Does the anchor reappear when you go back to edit mode?

Does a hyperlink to the anchor work?

This widget could not be displayed.

Hi Lea,

               Why will you see anchor symbol while viewing page. The main function of anchor macro is to scroll to any part of page where the text is linked to anchor name.

Test-Anchors.PNG

 

Create-Anchor-Link.PNG

 

  • You will not see anchor symbol in view mode.

 

 

view-mode.PNG

 

Regards

Chander

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

554 views 7 6
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you