Marking up links
After working through this section, you should be able to:
Mark up a link.
The pattern for marking up links is as follows:
In the text where the link appears, the opening
{{>
Immediately afterwards, the URL of the link
A space, followed by the text that should appear
The closing
}}
.
If the linked text is the link itself, simply repeat it: once as the URL, and once as the text.
The link should never include spaces, and should always start with https://
or http://
if it's external.
Examples
Text differs from link
Please visit our website for more information.
Looks like this in Edit mode:
If you click on the linked text ('our website'), you will be taken to https://laws.africa.
Text and link are the same
Please visit https://laws.africa for more information.
Looks like this in Edit mode:
Exercise
Copy the text below and paste it into a practise document, then see the instructions that follow.
Insert the opening
{{>
before 'our website'.Insert the URL
https://laws.africa
immediately after the opening{{>
, followed by a space.Insert the closing
}}
after 'our website' and before the full stop.
When you're done, it should look like the example above in View mode.
Try clicking on the linked text. Were you directed to https://laws.africa?
Now replace the text 'our website' with the URL, and see what it looks like.
Last updated