summaryrefslogtreecommitdiff
path: root/tests/typ/layout/list.typ
blob: 7b93894405fb6f2c10aaffe9ac46416efcfdaf9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Test bullet lists.

---
_Shopping list_
#list[Apples][Potatoes][Juice]

---
- First level.

  - Second level.
    There are multiple paragraphs.

    - Third level.

    Still the same bullet point.

  - Still level 2.

- At the top.

---
- Level 1
  - Level #[
2 through content block
]

---
  - Top-level indent
- is fine.

---
 - A
     - B
   - C
- D

---
// This works because tabs are used consistently.
	- A with 1 tab
		- B with 2 tabs

---
// This doesn't work because of mixed tabs and spaces.
  - A with 2 spaces
		- B with 2 tabs

---
// Edge cases.
-
Not in list
-Nope

---
// Alignment shouldn't affect marker
#set align(horizon)

- ABCDEF\ GHIJKL\ MNOPQR