typst/tests/typ/markup/lists.typ
Laurenz 8207c31aec Minor refactorings
- Reorder parser methods and use `Pos` everywhere
- Remove tab special handling for columns and adapt heading/list/enum indent handling
- Don't panic when a file has an empty path
2021-08-10 11:28:12 +02:00

50 lines
569 B
XML

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