Skip to content

Commit 2fd86b3

Browse files
authored
copyedit lists-tables (#877)
1 parent a732078 commit 2fd86b3

File tree

1 file changed

+12
-19
lines changed

1 file changed

+12
-19
lines changed

list-table.mdx

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ description: "Display information in lists and tables"
44
icon: "list"
55
---
66

7-
87
## Lists
98

10-
### Ordered List
9+
Lists follow the official [Markdown syntax](https://www.markdownguide.org/basic-syntax/#lists-1).
10+
11+
### Ordered list
1112

12-
To create an ordered list, add line items with numbers followed by periods
13+
To create an ordered list, add numbers followed by a period before list items.
1314

1415
1. First item
1516
2. Second item
@@ -23,9 +24,9 @@ To create an ordered list, add line items with numbers followed by periods
2324
4. Fourth item
2425
```
2526

26-
### Unordered List
27+
### Unordered list
2728

28-
To create an unordered list, add dashes (`-`), asterisks (`*`), or plus signs (`+`) in front of line items.
29+
To create an unordered list, add dashes (`-`), asterisks (`*`), or plus signs (`+`) before list items.
2930

3031
- First item
3132
- Second item
@@ -39,9 +40,9 @@ To create an unordered list, add dashes (`-`), asterisks (`*`), or plus signs (`
3940
- Fourth item
4041
```
4142

42-
### Nested List
43+
### Nested list
4344

44-
Add indents on list items to nest them
45+
Indent list items to nest them.
4546

4647
- First item
4748
- Second item
@@ -57,26 +58,18 @@ Add indents on list items to nest them
5758
- Third item
5859
```
5960

60-
<Tip>
61-
Lists follow the official [markdown syntax](https://www.markdownguide.org/basic-syntax/#lists-1).
62-
</Tip>
63-
6461
## Tables
6562

63+
Tables follow the official [Markdown syntax](https://www.markdownguide.org/extended-syntax/#tables).
64+
65+
To add a table, use three or more hyphens (`---`) to create each column's header, and use pipes (`|`) to separate each column. For compatibility, you should also add a pipe on either end of the row.
66+
6667
| Property | Description |
6768
| -------- | ------------------------------------- |
6869
| Name | Full name of user |
6970
| Age | Reported age |
7071
| Joined | Whether the user joined the community |
7172

72-
### Creating a table
73-
74-
<Tip>
75-
The Table component follows the official [markdown syntax](https://www.markdownguide.org/extended-syntax/#tables).
76-
</Tip>
77-
78-
To add a table, use three or more hyphens (`---`) to create each column's header, and use pipes (`|`) to separate each column. For compatibility, you should also add a pipe on either end of the row.
79-
8073
```mdx
8174
| Property | Description |
8275
| -------- | ------------------------------------- |

0 commit comments

Comments
 (0)