Links
Use the following markup to format your links:
[link text](URL)
Example:
If you paste a URL with no markup, it will be automatically converted into a hyperlink anyway. Example:
Markup | Result |
---|---|
| https://www.yandex.com |
Markup | Result |
---|---|
| https://www.yandex.com |
Links to Wiki pages
If you want to link to an internal Wiki page, you can use that page's relative address instead of the full page or cluster address.
- Links to pages
-
Specify the address in relation to the main Wiki page. Add the
/
symbol before the address. Example:Link destination Markup wiki.yandex.com/users/anna/notes
[Anna's notes](/users/anna/notes)
Link destination Markup wiki.yandex.com/users/anna/notes
[Anna's notes](/users/anna/notes)
The address of the page with the link must be specified relative to that page's parent page.
Attention. For such cases, do not add the/
symbol before the address.Example:
Page addresses Markup Link hosted on:
wiki.yandex.com/users/anna/newpage
Link destination:
wiki.yandex.com/users/anna/notes
[Anna's notes](notes)
Link hosted on:
wiki.yandex.com/users/anna/notes/note1
Link destination:
wiki.yandex.com/users/peter/notes
[Peter's notes](../../peter/notes)
Page addresses Markup Link hosted on:
wiki.yandex.com/users/anna/newpage
Link destination:
wiki.yandex.com/users/anna/notes
[Anna's notes](notes)
Link hosted on:
wiki.yandex.com/users/anna/notes/note1
Link destination:
wiki.yandex.com/users/peter/notes
[Peter's notes](../../peter/notes)
- Links to clusters
-
Each page heading automatically gets its own anchor, which is the section ID. Anchors are used as direct links to the page's sections.
Anchors are based on section titles. For example, the
My section
heading will have the anchorm-mysection
.To add a link to a section, enter the page address followed by the
#
symbol and the anchor:[link text](/pageAddress/#m-mysection)
To view the anchor value for a section:
- Click § to the right of the section heading.
The § symbol pops up as you hover your mouse over the heading.
- Open your browser's address bar and copy the section URL.
The anchor is shown after the
#
symbol at the end of the address. - Links to anchors
-
If you want to link to a specific place in a document, you can always create an anchor ID wherever you need. Use the {{anchor}}
dynamic block
to set your anchor. Example:{{anchor name="my-anchor"}}
To add an anchor link, enter the page address followed by the
#
symbol and then add the anchor at the end:[Link text](http://pageAddress/#my-anchor)
Links to images
If you paste an image link with no markup, the image itself will be displayed on the page.
To add a link to an image, use the standard markup for links:
Markup | Result |
---|---|
| Yandex logo |
Markup | Result |
---|---|
| Yandex logo |
Images as links
Images can also function as links to other pages or files. To do that, put the image's markup inside the link's markup:
Links to email addresses
To add a link to an email address, use the following markup:
Markup | Result |
---|---|
| ![]() |
| ![]() |
Markup | Result |
---|---|
| ![]() |
| ![]() |
Footnotes
Footnotes are notes that are usually placed at the bottom of the page. To add a footnote to your page:
- Add double brackets, “an asterisk”, and a footnote symbol after the words covered by the footnote. You can use numbers and other sequential symbols are your asterisk symbols. You can also simply use “asterisks”.
- Add double square brackets, the
#
symbol, and the footnote sign before the footnote text.
Example:
Markup | Result |
---|---|
| ![]() |
Markup | Result |
---|---|
| ![]() |