Buttons are used for interactions on the webpage (see the styleguide on when to use buttons and when to use links).
Syntax
[btn: *Button Label* -> */url/*]
Both the label and the URL are required, separated by ->.
For a full explanation of how links work see the Markdown Syntax guide.
Examples
[btn: View Datasets -> /datasets/]
[btn: External Link -> https://www.blastodb.com]
External Link *Please use a link if you want to link to an external website (see styleguide).
Internal link
For internal links, use the path without the domain (e.G. https://www.blastodb.com/subtypes/):
[btn: View Subtypes -> /subtypes/]
[btn: Homepage -> /]
The path including the domain also works. However, these links would loose its functionality if the primary domain ever changes. For this reason, the path is strongly preferred.
Link to a heading
Append #custom-id to jump to a section. Headings need a {#custom-id} attribute first. See the Markdown Syntax guide for more information.
[btn: Jump to Lists -> /documentation/markdown/markdown_syntax/#lists]
External link
Buttons are not supposed to be used with external links (see the styleguide for more information). Consider using an external link.
Tecklically, buttons can be used for external links by using the full domain including https://:
[btn: Visit Kent University -> https://www.kent.ac.uk/]