You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: list-table.mdx
+12-19Lines changed: 12 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,13 @@ description: "Display information in lists and tables"
4
4
icon: "list"
5
5
---
6
6
7
-
8
7
## Lists
9
8
10
-
### Ordered List
9
+
Lists follow the official [Markdown syntax](https://www.markdownguide.org/basic-syntax/#lists-1).
10
+
11
+
### Ordered list
11
12
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.
13
14
14
15
1. First item
15
16
2. Second item
@@ -23,9 +24,9 @@ To create an ordered list, add line items with numbers followed by periods
23
24
4. Fourth item
24
25
```
25
26
26
-
### Unordered List
27
+
### Unordered list
27
28
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.
29
30
30
31
- First item
31
32
- Second item
@@ -39,9 +40,9 @@ To create an unordered list, add dashes (`-`), asterisks (`*`), or plus signs (`
39
40
- Fourth item
40
41
```
41
42
42
-
### Nested List
43
+
### Nested list
43
44
44
-
Add indents on list items to nest them
45
+
Indent list items to nest them.
45
46
46
47
- First item
47
48
- Second item
@@ -57,26 +58,18 @@ Add indents on list items to nest them
57
58
- Third item
58
59
```
59
60
60
-
<Tip>
61
-
Lists follow the official [markdown syntax](https://www.markdownguide.org/basic-syntax/#lists-1).
62
-
</Tip>
63
-
64
61
## Tables
65
62
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.
| Joined | Whether the user joined the community |
71
72
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.
0 commit comments