Links
Use the following markup to format your links:
[link text](URL)
Example:
If you paste a URL with no markup, it will be converted into a hyperlink anyway.
Markup | Result |
---|---|
| https://www.yandex.com |
Markup | Result |
---|---|
| https://www.yandex.com |
Links to Wiki pages
If you want to link to a 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 Yandex Wiki page. Add the
/
symbol before the address.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. Do not add the
/
symbol before the address.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:
- Hover over the cluster title and click the § character, which will appear to the right of the title.
- Copy the cluster address from the browser's address bar.
The anchor is shown after the
#
symbol at the end of the address. - Linking to any place on the page
-
If you want to link to a specific place on a page, you can always create an anchor ID wherever you need. To set an anchor, use a dynamic block
{{anchor}}
:{{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:
[Link text](Image address)
Markup | Result |
---|---|
| Yandex logo |
Markup | Result |
---|---|
| Yandex logo |
Creating a link from an image
You can create a link from an image, so that clicking an image opens a page or document. To do this, embed an image to the link's markup element instead of text:
[](Link address)
Links to email addresses
To add a link to an email address:
- Enclose the email address in angle brackets
< >
. - Use the common link markup and add
mailto:
before the email address.[Link text](mailto:Email)
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 |
---|---|
| ![]() |