summaryrefslogtreecommitdiff
path: root/tests/typ/markup/lists.typ
blob: 716fcd7392d72a4994af00cf93cc8f668b7b2dcb (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
// Test lists.

---
_Shopping list_
- Apples
- Potatoes
- Juice

---
Tightly
- surrounded
- by two
paragraphs.

---
- 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 template
]

---
  - 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