typst/tests/typ/markup/lists.typ
Laurenz 5afb42ad89 Lists with indent-based parsing
- Unordered lists with indent-based parsing and basic layout using stacks
- Headings are now also indent based
- Removes syntax functions since they will be superseded by select & transform
2021-06-09 00:37:13 +02:00

46 lines
445 B
XML

// Test lists.
---
_Shopping 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.
---
- Works
- Also with four spaces
- Or two tabs
---
- Top-level indent
- is fine.
---
Tightly
- surrounded
- by two
paragraphs.
---
- A
- B
- C
- D
---
- Level 1
- Level [
2 through template
]