TestFirst uses the conventional basic markdown syntax. Below you can find the most popular markdown elements and their syntax. You can read more about markdown in Basic Syntax | Markdown Guide.
Bold text
In order to make the text bold, use double asterisks (**) or double underscores (__) around the text.
Example:
Markdown syntax | Marked down output |
**bold text** | bold text |
__bold text__ | bold text |
Italic text
In order to make the text italic, use single asterisks (*) or single underscores (_) around the text.
Example:
Markdown syntax | Marked down output |
*italic text* | italic text |
_italic text_ | italic text |
Headings
In order to add a heading, you can use the number symbol (#) before the heading in the same line. The number of number symbols corresponds with the heading level.
Examples:
Markdown syntax | Marked down output |
# Heading 1 |
Heading 1 |
## Heading 2 |
Heading 2 |
### Heading 3 |
Heading 3 |
Paragraphs and Line Breaks
For a new paragraph, press Enter twice at the end of the line. For a new line, type double Space and then press Enter.
Examples:
Markdown syntax | Marked down output |
This is the first paragraph. |
This is the first paragraph. This is the second paragraph. |
This is the first line. This is the second line. |
This is the first line. This is the second line. |
Lists
You can create numbered and bullet lists using markdown.
In order to create a numbered list, type every list item with a sequential number followed by a period and a space. If you need to create a nested numbered list, enter 4 spaces on a new line followed by number one with a period and a space.
In order to create a bullet list, start every list item with a dash (-), asterisk (*) or a plus sign (+). If you want to add a nested bullet list, enter 4 spaces followed by one of the list characters and a space.
You can create a nested bullet list under a numbered list, and vice versa. Follow the same rules as for nested lists in the numbered and the bullet lists.
Examples:
Markdown syntax | Marked down output |
1. First item 2. Second item 1. First sub-item 2. Second sub-item 3. Third item |
|
- List item - List item - List item |
|
* List item * List item * List item |
|
+ List item + List item + List item |
|
* List item * List item - List item |
|
1. First item 2. Second item * sub-item * sub-item 3. Third item |
|
Links
To create a link, enclose the link text in brackets and the link itself in parentheses.
Example:
Markdown syntax | Marked down output |
Read more about [basic markdown syntax](https://www.markdownguide.org/basic-syntax/). | Read more about basic markdown syntax. |
Images
You can add images using the syntax similar to links. Start the line with an exclamation mark, then enclose the alternative text in brackets followed by the link to the image in parentheses.
Example:
Markdown syntax | Marked down output |
Then I should see TestFirst logo ![TestFirst logo](https://www.testfirst.com/_next/static/media/tf-logo.5debda96.svg). |
Then I should see TestFirst logo |
Code blocks
In order to add an inline code block, use backticks (`) at the start and the end of the code block. To add a multiline code block, indent every line of code with at least four spaces.
Examples:
Markdown syntax | Marked down output |
This is `inline code` | This is inline code |
Multiline code Second line Third line End of code |
Multiline code |
Escaping characters
In order to escape special characters used in markdown syntax, you can use backslash (\) before the character.
\* Without a backslash, this would be an item in a bullet list.
Comments
0 comments
Please sign in to leave a comment.