summaryrefslogtreecommitdiff
path: root/tests/typ/layout
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-27 11:58:17 +0200
committerLaurenz <laurmaedje@gmail.com>2023-03-27 12:12:57 +0200
commita5c88c19b300c64fafd6a19e3f5f2fe6422a7b67 (patch)
tree42192332e277624a35c6e3db568c0ff8196b582a /tests/typ/layout
parent10d8fd966130f1e60d328b08a7fcce61961d6974 (diff)
Fix enum parsing and allow zero in numberings
Fixes #353.
Diffstat (limited to 'tests/typ/layout')
-rw-r--r--tests/typ/layout/enum.typ12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/typ/layout/enum.typ b/tests/typ/layout/enum.typ
index 9512e1b5..341afed4 100644
--- a/tests/typ/layout/enum.typ
+++ b/tests/typ/layout/enum.typ
@@ -4,6 +4,7 @@
#enum[Embrace][Extend][Extinguish]
---
+0. Before first!
1. First.
2. Indented
@@ -22,7 +23,14 @@
/ Term: List
---
+// In the line.
+1.2 \
+This is 0. \
+See 0.3. \
+
+---
// Edge cases.
+
-Empty
-+Nope
+Empty \
++Nope \
+a + 0.