Auto-update #links when I change the named anchor text?

Hi!

I have a single page glossary of terms (each term is a heading 5) in which I have embedded cross-references to other terms on the same page using link icon>Advanced> #heading5name (that is, a named anchor).

I would like to see if I can "automagically" update the #heading5name when I change the text of heading5 itself.

Example:

Original heading5 is "simian"

link to it is #simian

Core question: If I change the heading5 text to simianS how can I get the link reference to update to #simianS automagically?

I could edit the raw wiki markup, I suppose, but it appears that editing the raw wiki markup is no longer possible. 

Maybe I'm missing something... please be kind to me....

1 answer

0 votes
carolyn french Community Champion Feb 21, 2018

Hi Alex, and welcome to community!

I'm not sure how to do what you're asking (but I'm watching this question because it would be a cool script or other solution).

I also modified the tags on your question, so more people will find it and hopefully give you some possible solutions. Here is an excellent article written by a Community Champion on Tags to give you some ideas.

Carolyn

Thanks, Carolyn.

The answer appears to be that there is no automatic update of Advanced links that start with #.

If you change the named anchor string (the target of the advanced link), you must also change the link itself.

It seems to me that this automation could be done on pages with internal links such as #. I suggest Atlassian do that ;-)

Thanks again,

Alex L

carolyn french Community Champion Feb 22, 2018

Sure, no problem. It's a good suggestion. You can open a suggestion ticket on the public Jira instance for Atlassian and others to see:

https://jira.atlassian.com/projects/CONFCLOUD/issues/CONFCLOUD-31358?filter=allopenissues

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

66 views 3 2
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