Improve documentation of lists in Markdown
This commit is contained in:
parent
9f166a8649
commit
b348ff1a10
1 changed files with 30 additions and 0 deletions
|
@ -343,6 +343,36 @@ Strikethrough uses two tildes. ~~Scratch this.~~
|
||||||
- Or minuses
|
- Or minuses
|
||||||
+ Or pluses
|
+ Or pluses
|
||||||
|
|
||||||
|
If a list item contains multiple paragraphs,
|
||||||
|
each subsequent paragraph should be indented with four spaces.
|
||||||
|
|
||||||
|
```no-highlight
|
||||||
|
1. First ordered list item
|
||||||
|
|
||||||
|
Second paragraph of first item.
|
||||||
|
2. Another item
|
||||||
|
```
|
||||||
|
|
||||||
|
1. First ordered list item
|
||||||
|
|
||||||
|
Second paragraph of first item.
|
||||||
|
2. Another item
|
||||||
|
|
||||||
|
If the second paragraph isn't indented with four spaces,
|
||||||
|
the second list item will be incorrectly labeled as `1`.
|
||||||
|
|
||||||
|
```no-highlight
|
||||||
|
1. First ordered list item
|
||||||
|
|
||||||
|
Second paragraph of first item.
|
||||||
|
2. Another item
|
||||||
|
```
|
||||||
|
|
||||||
|
1. First ordered list item
|
||||||
|
|
||||||
|
Second paragraph of first item.
|
||||||
|
2. Another item
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
There are two ways to create links, inline-style and reference-style.
|
There are two ways to create links, inline-style and reference-style.
|
||||||
|
|
Loading…
Reference in a new issue