This page last changed on Aug 19, 2011 by pwatson.

The Anchor macro allows you to link to specific parts of a page. Anchor links can be especially useful when navigating between sections of a long document or when you want to link to a segment of a page and not to the page as a whole.

Anchors are invisible to the reader when the page is rendered.

There are two steps to using an anchor:

  1. Create the anchor for the content.
  2. Create the link to the anchor.

Creating an Anchor

You use the Anchor macro to create an anchor for content that you want to be able to link to.

To add the Anchor macro to a page:

  1. In the Confluence editor, choose Insert > Other Macros.
  2. Find and select the required macro.

Parameter

When editing, you can click on the macro placeholder and choose Edit to display the parameters for this macro in the Macro Browser.

Parameters are options that you can set for Confluence macros to control the content or format of the macro output. The table below lists parameters for this macro that can be set in the Macro Browser.

Parameter

Default

Description

Anchor Name

None; name must be supplied

This is the name of the anchor that you will link to.

The page Linking to Pages does not exist.

Notes

  • If you are adding an anchor to the site welcome message, it can only be linked to from another page. Internal-only links will not render.
  • Page titles and links to other spaces can be combined with anchors and attachments, but you can't use attachments and anchors in the same link.

Related Topics

Working with Links

Take me back to the Confluence User's Guide.

Document generated by Confluence on Sep 19, 2011 02:30