Как использовать якорь в confluence

Ссылки на конкретную часть статьи (якорь в статье)

Если вам нужно сослаться на конкретную часть статьи, вам на помощь придет макрос Анкер (Якорь). В этой статье будет рассмотрено, как разместить макрос и сделать ссылку.

Макрос Анкер (Якорь) добавляется так же, как остальные макросы — через меню вставки.

Как использовать якорь в confluence. 44165125. Как использовать якорь в confluence фото. Как использовать якорь в confluence-44165125. картинка Как использовать якорь в confluence. картинка 44165125

Добавляем название якоря.

Название составляется из букв латинского алфавита или цифр.

Как использовать якорь в confluence. 29983294. Как использовать якорь в confluence фото. Как использовать якорь в confluence-29983294. картинка Как использовать якорь в confluence. картинка 29983294

Вот так будет выглядеть якорь в редакторе статьи:

Как использовать якорь в confluence. 29983352. Как использовать якорь в confluence фото. Как использовать якорь в confluence-29983352. картинка Как использовать якорь в confluence. картинка 29983352

Чтобы потом сделать ссылку на этот якорь, нужно нажать на кнопку Вставить ссылку.

Как использовать якорь в confluence. 29983300. Как использовать якорь в confluence фото. Как использовать якорь в confluence-29983300. картинка Как использовать якорь в confluence. картинка 29983300

Выберите пункт Дополнительно и действуйте одним из следующих способов:

Как использовать якорь в confluence. 29983321. Как использовать якорь в confluence фото. Как использовать якорь в confluence-29983321. картинка Как использовать якорь в confluence. картинка 29983321

Если вы разместите в начале статьи макрос Оглавление и откроете статью, вы сможете скопировать ссылку на конкретный пункт статьи.

Например, статья Как делать скриншоты в Monosnap нажмите правой кнопкой мыши на пункте оглавления и в выпадающем меню выберите Копировать адрес ссылки.

Источник

Confluence Support

Knowledge base

Products

Jira Software

Project and issue tracking

Jira Service Management

Service management and customer support

Jira Core

Manage any business project

Confluence

Bitbucket

Git code management

Resources

Documentation

Usage and admin help

Community

Answers, support, and inspiration

Suggestions and bugs

Feature suggestions and bug reports

Marketplace

Billing and licensing

Frequently asked questions

Viewport

Confluence

Versions

Anchors

Pages and blogs

On this page

Related content

Still need help?

The Atlassian Community is here for you.

You can use anchors to enable linking to specific locations on a page, and they can be especially useful for allowing your readers to navigate to specific parts of a long document. Anchors are invisible to the reader when the page is displayed.

There are two steps to using an anchor:

Step 1: Create the anchor

Add the Anchor Macro to mark the location you want to link to:

On this page:

Related pages:

Macro options (parameters)

Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets ( example ).

Anchor Name

This is the anchor name that you will use when creating the link.

Step 2: Create a link to the anchor

Link to an anchor on the same Confluence site:

Choose Advanced and enter the anchor name in the Link field, following the format below.

My page#important information

DOC:My page#important information

Screenshot: The ‘Advanced’ option in the link dialog

Как использовать якорь в confluence. link dialog anchor. Как использовать якорь в confluence фото. Как использовать якорь в confluence-link dialog anchor. картинка Как использовать якорь в confluence. картинка link dialog anchor

Link to an anchor from another web page or another Confluence site:

Источник

Confluence Support

Knowledge base

Products

Jira Software

Project and issue tracking

Jira Service Management

Service management and customer support

Jira Core

Manage any business project

Confluence

Bitbucket

Git code management

Resources

Documentation

Usage and admin help

Community

Answers, support, and inspiration

Suggestions and bugs

Feature suggestions and bug reports

Marketplace

Billing and licensing

Frequently asked questions

Viewport

Confluence

Versions

Anchor Macro

Macros

On this page

Related content

Still need help?

The Atlassian Community is here for you.

Add the Anchor macro to a page to link to a specific part of a page.

This is useful on long pages, where you want to link to specific parts of the page.

Don’t see the Anchor macro? This macro isn’t available in the new Confluence Cloud editor. See We’re cleaning up our macros for alternative ways to link.

The example below shows an example of an Anchor macro as it appears in the editor, and as it would appear to someone viewing the page.

On this page:

Как использовать якорь в confluence. anchor editor viewpage comparison. Как использовать якорь в confluence фото. Как использовать якорь в confluence-anchor editor viewpage comparison. картинка Как использовать якорь в confluence. картинка anchor editor viewpage comparison

Add the anchor macro to your page

To add the Anchor macro to a page:

You can then add a link to your macro from this page or another page.

Linking to an anchor

To link to an anchor on the same page:

You can also link to an anchor on another page. See Anchors for more information on the different link syntax you can use.

Animation: Adding the Anchor macro to a page, then linking to that macro.

Как использовать якорь в confluence. LinkToAnchor. Как использовать якорь в confluence фото. Как использовать якорь в confluence-LinkToAnchor. картинка Как использовать якорь в confluence. картинка LinkToAnchor

Change the macro parameters

Macro parameters are used to change the behaviour of a macro.

To change the macro parameters:

Here’s a list of the parameters available in this macro.

Anchor Name

This is the anchor name that you will use when creating the link.

Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets ( example ).

Other ways to add this macro

Add this macro as you type

Как использовать якорь в confluence. insert cheese. Как использовать якорь в confluence фото. Как использовать якорь в confluence-insert cheese. картинка Как использовать якорь в confluence. картинка insert cheese

Add this macro using wiki markup

This is useful when you want to add a macro outside the editor, for example as custom content in the sidebar, header or footer of a space.

Источник

Insert links

Send your readers to the right spot using links. You can link to pages outside of Confluence, to other Confluence pages, to sections of a page, or directly to page and inline comments.

If a Confluence site requires that users have to be logged into see its content, sharing a link to a certain page on that site won’t work for people without the ability to login.

Pages in your site may use the new editor or the legacy editor. This page explains how to use both editors.

Use these links to jump to the section detailing the editor you use:

Which editor does your page use

When you edit a page, you can look over the toolbar for visual indicators, like the differences between the text color pickers, the inclusion of undo / redo buttons, or an emoji icon in the new editor toolbar. You’ll also notice that the Publish and Close buttons were moved to the top right in the new editor.

New editor

Legacy editor

New editor

The way links are added in the new editor has been simplified to provide you with an easier way to get this done.

Insert links

Highlight the text to be used as the link and select the link tool, or just select the link tool.

You can also use keyboard shortcuts to open the link menu. Ctrl K for Windows, or cmd K for Mac.

Selecting the link tool gives you the ability to link to:

pages outside Confluence

recent Confluence pages or blogs

page comments or inline comments

recently Jira issues in the same instance.

After establishing the destination of the link, you can modify the text that is displayed to page viewers.

Link formats

Depending on the destination of your link, there are a variety of ways to format your URL.

Anchor

To link to an Anchor macro on the same page:

Make note of the name of the anchor to which you want to link. The name is displayed on the anchor when editing the page.

Add the link to the anchor anywhere on the page by highlighting the text to be used as the link

Select the link tool

To link to an Anchor macro on another page:

Copy the page of the URL to whose anchor you want to link

Make note of the name of the anchor to which you want to link. The name is displayed on the anchor when editing the page.

Go to the page where you want to add the link and edit the page

Highlight the text to be used as the link

Select the link tool

Paste the URL to the copied page in the link field followed by a # symbol and the anchor name.
Example
page name = Project notes

Anchor name = notes from today
Link = sitename.domain/wiki/Project+notes#notes-from-today

Pro tip — if you are adding a link to an anchor from a Gliffy diagram, you must use the entire URL, not just the pagename#anchorname portion.

External pages or Confluence pages

To link to external sites, Confluence blogs, or Confluence pages:

Go to the page whose link you want to use.

Paste the URL in the link tool pop-up where ever you want it to appear on the page, and give it a more friendly name if desired.

Jira issue

To link to a Jira issue (where Confluence and Jira are connected):

Go to the Jira issue.

Go to and edit the page where you want to link to the attachment.

Paste the URL onto the page. Confluence automatically converts this to a smart link that displays the issue number, summary text, and status.

Comments

To link to a page comment in a Confluence blog or page:

Go to the page whose link you want to use.

Locate the page comment.

Select the date link below the comment. The page reloads scrolling you to the comment.

Go to and edit the page where you want to link to the comment.

Paste the URL in the link tool pop-up where ever you want it to appear on the page, and give it a more friendly name if desired.

To link to an inline comment in a Confluence blog or page:

Go to the page whose link you want to use.

Locate the inline page comment, and select to open the pop-up.

Select the date link below the comment. The page reloads scrolling you to the comment.

Go to and edit the page where you want to link to the comment.

Paste the URL in the link tool pop-up and give it a more friendly name if desired.

Email

To link to an email address:

Go to the page where you want to link to the email.

Type the email address in the link tool pop-up where ever you want it to appear on the page, and give it a more friendly name if desired. Confluence automatically creates a ‘mailto:’ link.

Attachments

To link to a page’s attachment:

Doing this through the link tool is coming soon. In the meanwhile, you can use this process to accomplish your goal.

Go to the published version of the page containing the attachment to which you want to link.

Go to More ••• > Attachments.

Right-click on the file name of the attachment, and select Copy Link Address.

Go to and edit the page where you want to link to the attachment.

Paste the URL in the link tool pop-up, and give it a more friendly name if desired.

To link to the latest version of an attachment on another page:

Go to the published version of the page containing the attachment to which you want to link.

Go to More ••• > Attachments.

Right-click on the file name of the attachment, and select Copy Link Address.

Go to and edit the page where you want to link to the attachment.

Paste the URL in the link tool pop-up, remove any text after the file extension in the URL, and give it a more friendly name if desired.

Headings

To link to a heading on a page or another page:

Heading links use a combination of the three character space identifier and the page ID along with the page name and header name.

If you only need to get the URL that takes viewers to a heading, do the following:

Go to the page and scroll down to the heading.

Hover over the heading to reveal the link icon to the left of the heading.

Select the link icon to copy the link.

Go to and edit the page where you want to link to the heading.

Select the Link tool from the toolbar

Paste the URL in the link tool pop-up, enter a more friendly name in the field below, and press Enter

If you need to create several links to headings on a page, it’s more efficient to get the page URL and construct the heading portion yourself.

Go to and view the page containing the heading

Copy the page URL for future use. Keep in mind that the page URL capitalization must match the page title capitalization. Spaces in the page title are replaced with a plus ( + ).

Make note of all the exact headings that to which you want to link

Go to and edit the page where you want to link to the headings

Select the Link tool from the toolbar

Paste the page URL in the link tool pop-up, enter a more friendly name in the field below, and press Enter

Repeat Step 6 until you’ve created all the heading links needed

Creating links to non-heading sections of your page isn’t possible in the new editor. If you need to link to a part of the page that isn’t worthy of a major heading, try using a smaller heading like an H5 or H6.

Linking to text formatted as headings in tables isn’t currently possible in the new editor.

Smart links

Links from the following products will automatically get special styling when you paste them onto your page:

Microsoft OneDrive (personal only)

Pro tip — To stop a link displaying as a Smart link and simply display the URL, use a keyboard shortcut like cmd+z (Mac) or Ctrl+z (Windows) immediately after the link you pasted converts into a Smart link.

After the URL is converted to a Smart link, you can decide if you’d like it to be shown:

as the actual URL

as an inline representation of the page title; this often includes an icon or an emoji to convey the content type or website logo

as a card; smart cards offer richer detail than links, including summaries and actions. More detail will be added to cards over time

as an embed – an interactive preview of link content. The Display embed option only appears for file types that can be previewed (for instance, a YouTube video, Figma file or Google doc)

Users can only preview embedded content if they have permission to view the file or link that you have embedded.

To change how a link is displayed, click on the link to show the link toolbar. Select the Display inline dropdown menu to choose from different display options.

Note: Your browser may prevent links from displaying as an embed. To solve this problem, go to your browser settings and add the site or application to the list of sites that can always use cookies.

Unlink a link

Anytime a link is added to a page or blog, it gets converted to a selectable link that can take the reader to another location. You don’t always want this to happen. Sometimes, you just want the URL to be show without the interactive capability.

Select the link while editing the page. If the link became a smart link after pasting, change the display type to Display URL.

Select the URL. A floating toolbar appears.

Select the Unlink icon. The blue interactive state of the text is removed.

Link to an undefined placeholder page

Sometimes you want to link to a Confluence page that doesn’t exist yet. To do this, you can add an undefined link and come back to it later. When you select on the link, Confluence will create a draft page with that title for you to then add content to and publish when you’re ready.

Undefined placeholder links can’t be added to templates.

Create an undefined placeholder page link

Press Enter or Return to create the placeholder.

Select Close to keep the page as a DRAFT or select Publish.

Using a keyboard shortcut is the only way to accomplish this right now. In the coming months, the ability to add undefined links will be added to the editor toolbar and slash command menu.

A link to an undefined page is shown in red. Until you actually publish this newly created page, anyone with create permissions in that space can select on the link, while viewing or editing, and it will continue to create new draft pages.

View undefined pages in a space

The Undefined page shows you all the undefined pages in your space.

To view a list of the undefined links in a space:

Go to the space in Confluence Cloud.

Select Space Settings from the sidebar.

Select Undefined from the Manage pages card.

The undefined page links have a green badge to remind you that these pages haven’t been published yet. Select an undefined page link to create a draft and add content to it.

Legacy editor

This section provides the details for adding links and anchors to your page using the legacy editor.

Internal links

Here’s how to link to content from within Confluence

Link to a page

If it’s a page in the same space:

From the toolbar, select Link > Search then enter part of the page name. Select the page when it appears in the list.

From the toolbar, select Link > Recently viewed and select a page from the list.

Type [ and enter part of the page name, then select the page from the list.

Paste the URL of the page onto your page (Confluence will automatically create the link).

If it’s a page in a different space:

From the toolbar, select Link > Search and from the space dropdown, either select the space the page lives in, or All Spaces. Then enter part of the page name, and select the page when it appears in the list.

Type [ and enter part of the page name then select the page from the list. (You can hover over each suggestion to see which space the page is from).

Link to a blog post

From the toolbar, select Link > Search and enter part of the blog post name, then select the post when it appears in the list.

Type [ and enter part of the blog post name then select the blog post from the list.

Link to an attachment

From the toolbar, select Link > Attachment then upload or select an attachment from the list.

Type [ and enter part of the attachment file name then select the attachment from the list.

From the toolbar, select Link > Search and enter part of the attachment name, then select it when it appears in the list. (You can hover over each suggestion to see which space the page is from).

Type [ and enter part of the attachment file name then select the attachment from the list

Link to a website

From the toolbar, select Link > Web Link then enter the website URL.

Type or paste the URL onto the page (Confluence will automatically create the link).

Link to an email address

From the toolbar, select Link > Web Link then enter the email address.

Type or paste the email address onto the page (Confluence will automatically create a ‘mailto:’ link).

Link to a heading on a page

Choose Link > Advanced then enter the heading in one of the formats below. Heading text is case sensitive and must be entered without spaces.

Be aware that these links will break if you edit the heading text. Consider using the Table of Contents macro or an Anchor instead.

Link to a comment on a page

Go to the comment, right-click the Date at the bottom of the comment, copy the link, and paste it directly into your page.

Type [$ then enter the Comment ID (12345 in this example): [$12345]

Link to an anchor on a page

Use anchors to enable linking to specific locations on a page. These can be especially useful for allowing your readers to jump to specific parts of a long document. Anchors are invisible to the reader when the page is displayed.

To learn more about inserting macros onto your page, see Insert the Anchor macro.

Link to an anchor

Anchor names, including the space key and page name, are case sensitive.

Enter page and anchor names with spaces when you link to them in the same Confluence site

If you’re linking to an anchor on a different page that has special characters in its name, where the URL displays a page ID rather than a name, you should still enter the page name when linking to it

Select some text or position your cursor where you want to insert the link

From the toolbar, select Link in the toolbar or press Ctrl+K

Select Advanced and enter the anchor name in the Link field, following the format below.

Anchor location

Link syntax for anchor

Examples

Page in same space

page name#anchor name

My page#important information

Page in different space

4. Enter or modify the Link Text (this is the text that will appear on the page. If this field is left blank, the page name or URL will be used as the link text)

5. Select Save

Link to an undefined page (a page that does not exist yet)

Sometimes you want to link to a Confluence page that doesn’t exist yet. To do this, you can add an undefined link and come back to it later. When you select on the link, Confluence will create a draft page with that title for you to then add content to and publish when you’re ready.

Create an undefined page link:

From the toolbar, select Insert > Link or press Ctrl+K on your keyboard.

Select Advanced from the left navigation

Enter the name of the page to be created in the Link field.

A link to an undefined page is shown in dark red. Until you actually publish this newly created page, anyone with create permissions in that space can select on the link, while viewing or editing, and it will continue to create new draft pages.

View undefined pages in a space

The Undefined Pages view shows you all the undefined pages in your space.

To view a list of the undefined links in a space:

Select Space settings in the sidebar, then choose Content tools

Select Undefined Pages.

The undefined page links have a green badge to remind you that these pages haven’t been published yet. Select on the link for an undefined page to create a draft and add content to it.

Link to a personal space or user profile

From the toolbar, select Link > Search then enter the user’s name and select their personal space overview or their profile from the list.

Type [ then enter the user’s name and select their personal space overview or their profile from the list.

Link to a Jira issue (where Confluence is connected to Jira)

Use a shortcut link

For example, this Confluence site uses the shortcut @jira to link to jira.atlassian.com. So, the shortcut link CONF-17025@jira produces this link.

To add a shortcut link using the Insert Link dialog:

From the toolbar, select Link > Advanced and enter or paste the shortcut link into the Link field (shortcut links are case-insensitive)

Modify or enter link text (this is the text that will appear on the page)

Select Insert

You can also type [ and choose Insert Web Link > Advanced to enter a shortcut link.

External links

Here’s how to link to Confluence content from other websites and in emails.

Link to a heading

Example

Link to a comment

Example

To find out the comment URL and comment ID:

Go to the comment you wish to link to

Select the Date at the bottom of the comment and examine the URL

The number after comment- is the Comment ID

Link to an anchor

Example

Some important details to keep in mind:

The page name is repeated in the URL, after the # sign. The second occurrence of the page name is concatenated into a single word, with all spaces removed.

There is a single dash (hyphen) between the concatenated page name and the anchor name.

The anchor name in the full URL is concatenated into a single word, with all spaces removed.

The anchor name is case sensitive. You must use the same pattern of upper and lower case letters as you used when creating the Anchor.

Remove or modify a link

Select the link text or image

Select Unlink from the link properties toolbar to remove the link

Select Edit from the link properties toolbar to modify the link, make your changes, and choose Save

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Anchor locationLink syntax for anchorExamples
Same page#anchor name