Handbook: update ordered lists markdown formatting handbook section. (#21293)

Closes:  #21036

Changes:
- Removed the inaccurate section about formatting ordered lists in
Markdown content in the handbook.
This commit is contained in:
Eric 2024-08-13 20:41:45 -05:00 committed by GitHub
parent 9041f49d7f
commit 56bae99430
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1400,8 +1400,6 @@ line two
| <pre>1. Line one<br>2. Line two <br>3. Line three<br>4. Line four</pre> | 1. Line one<br>2. Line two<br> 3. Line three<br>4. Line four |
| <pre>1. Line one<br>1. Indent one<br>2. Line two<br>3. Line three<br>1. Indent one<br>2. Indent two<br>4. Line four</pre> | 1. Line one<br>&nbsp;1. Indent one<br>2. Line two<br>3. Line three<br>&nbsp;1. Indent one<br>&nbsp;2. Indent two<br>4. Line four |
Content nested within an ordered list needs to be indented. If the list is not formatted correctly, the number will reset on each list item, as shown in the example below.
**Markdown:**
```
@ -1420,26 +1418,6 @@ Paragraph about item one
2. Item two
To make sure that ordered lists increment correctly, you can indent the content nested within the list. For example, the same ordered list with indentation:
**Markdown:**
```
1. Item one
Paragraph about item one
2. Item two
```
**Rendered output:**
1. Item one
Paragraph about item one
2. Item two
#### Unordered lists