Here’s how you can indent lines in Markdown in simple terms:
1. For a Blockquote (Indented Text)
To indent text, put a > at the beginning of each line:
Example:
markdown Copy code
> This text is indented.
> Another indented line.
It will look like this when rendered:
This text is indented.
Another indented line.
2. For Code Blocks
If you want to indent text like it’s part of a code block, add 4 spaces (or a tab) at the start of the line:
Example:
markdown Copy code
This is indented like code.
Another indented line.
It will show like this:
vbnet
Copy code
This is indented like code.
Another indented line.
3. For Lists
To make a list with sub-items, indent the sub-items by adding spaces or tabs:
Example:
markdown Copy code
– Item 1
– Sub-item 1
– Sub-item 2
– Item 2
It will show like this:
Item 1
Sub-item 1
Sub-item 2
Item 2