summaryrefslogtreecommitdiff
path: root/tests/typ/structure
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-04 23:33:40 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-04 23:34:02 +0200
commit15ef72cca427c63b2e545d645b49ff27aecffad6 (patch)
treea9ec17c8be0b3f2f577907a4ccedd91fe853907e /tests/typ/structure
parent1bca9ccecb9edb583a0a94bd3611147b66909ab9 (diff)
Fix empty heading
Diffstat (limited to 'tests/typ/structure')
-rw-r--r--tests/typ/structure/heading.typ6
-rw-r--r--tests/typ/structure/list.typ4
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/typ/structure/heading.typ b/tests/typ/structure/heading.typ
index de95c35b..496181bd 100644
--- a/tests/typ/structure/heading.typ
+++ b/tests/typ/structure/heading.typ
@@ -1,6 +1,12 @@
// Test headings.
---
+#show node: heading as text(blue, node.body)
+
+=
+No heading
+
+---
// Different number of equals signs.
= Level 1
diff --git a/tests/typ/structure/list.typ b/tests/typ/structure/list.typ
index 77e153c7..5c410a3f 100644
--- a/tests/typ/structure/list.typ
+++ b/tests/typ/structure/list.typ
@@ -1,6 +1,10 @@
// Test lists.
---
+-
+No list
+
+---
_Shopping list_
#list(attached: true)[Apples][Potatoes][Juice]