summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-04-05 14:51:06 +0200
committerLaurenz <laurmaedje@gmail.com>2022-04-05 15:04:31 +0200
commitb865accae6c5e9f5d62afe4637c985c81b70eb4f (patch)
tree752e0c3cc73b32b7ec16c1b26516610b79a29544 /tests
parent2eacfcfa8121e1002db45232b343ce846c0c8b2f (diff)
Don't allow headings to span multiple lines
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/structure/heading.pngbin25291 -> 23257 bytes
-rw-r--r--tests/typ/structure/heading.typ18
2 files changed, 7 insertions, 11 deletions
diff --git a/tests/ref/structure/heading.png b/tests/ref/structure/heading.png
index 09f3d7c7..693ae763 100644
--- a/tests/ref/structure/heading.png
+++ b/tests/ref/structure/heading.png
Binary files differ
diff --git a/tests/typ/structure/heading.typ b/tests/typ/structure/heading.typ
index 2ae97aa8..f4ba5f33 100644
--- a/tests/typ/structure/heading.typ
+++ b/tests/typ/structure/heading.typ
@@ -26,19 +26,15 @@ No = heading
\= No heading
---
-// While indented at least as much as the start, the heading continues.
+// Blocks can continue the heading.
-= This
- is
- indented.
-
-= This
-is not.
+= [This
+is
+multiline.
+]
-// Code blocks continue heading.
-= A {
- "B"
-}
+= This
+ is not.
---
// Test styling.