Markdown is a markup language used for formatting text in input fields where common tools for text formats are missing.
For example, Markdown can be used to create headings or bold, italic or linked text. The syntax is simplified compared to html code.
A heading size that reads in html:
is expressed with markdown as
# Headline text
Below are some common examples.
# Main heading
## Intermediate heading
Two spaces at the end of a row
provides a simple line break.
A plain blank line in text
provides paragraph space.
Links in Markdown
Note: URL must contain https://
[linked text](mailto:email address)
Links in HTML
A link expressed with Markdown have the disadvantage that it opens page in the same window as the form, which is not preferable. Therefore, there is also support for entering links in HTML code. In order for the link to open the page in a new window / new tab, special target attribute ("target") need to be set in the code.
The code follows the principle:
<a href="URL of target page" target="_blank">The clickable link text in the form</a>
For example, a typical link might look like this:
<a href="https://www.kth.se/en" target="_blank”>Read more on KTH's website</a>
The target attribute should not be included if you enter an e-mail address instead of a URL. However, the email address needs to be preceded by a mailto prefix. For example, the HTML code looks like this:
<a href="mailto:email@example.com">Email us at firstname.lastname@example.org</a>
![text displayed where image cannot be loaded](image URL)