The Anchor allows to define a document fragment to reference on the target document. The anchor value may have one of two forms: - If the first character is a hashmark (
# ), then the anchor is used verbatim as fragment part of the generated URL - If the first character is not a hashmark (
# ), then the anchor is a section title and a proper anchor is derived
So if the reference is to a section using the Section Macro, simply add the title of the section. If the user knows the identifier or anchor in the HTML code, use that identifier an put a hashmark (# ) in front. In case the content is part of a Confluence page then the generated anchor typically includes the title of the page as a prefix (separated by a single dash '- '). Example Box |
---|
title | Valid values: Section Titles and Identifiers |
---|
| My Section Title #my#Pagetitle-my-element-id #myAnchorName
|
There is an Static Document Link |
---|
document | Artificial Properties |
---|
label | artificial property |
---|
| named Static Document Link |
---|
document | projectdoc Anchor IDs in Document Part References |
---|
| that lists all anchor identifiers used in a document. Info Box |
---|
title | Limitations on Drafts |
---|
| The macro checks the page contents on the server. If users need to reference to a new section on a document and the draft has not already been saved automatically, the macro does not yet have access to the new section. The workaround here is to save the page and open it again. Sometimes it works to change to the preview of the page. |
|