Hyperlinks
Simple Links
Setting hyperlinks in the text is very easy. All you have to do is insert the complete link, including https://, in the editor:
https://www.adoc-studio.app
The link is automatically recognized and made clickable.
If the link should not display the complete URL, you can insert square brackets directly after the URL. In these brackets, enter the title of the link:
https://www.adoc-studio.app[adoc Studio Website]
becomes: adoc Studio Website
Email Links
For email links, use the mailto: prefix:
mailto:info@example.com[]
mailto:info@example.com[Contact us]
The first variant displays the email address as the link text, the second a custom text.
Opening Links in a New Tab
If a link should open in a new tab, add a comma and ^ at the end of the link text:
https://www.adoc-studio.app[adoc Studio,^]
The ,^ causes the link to be rendered with target="_blank".
| In the chapter Attributes, you will learn how to define URLs as variables. This way, you only need to change the link in one place when making updates. |