summaryrefslogtreecommitdiff
path: root/tests/typ/markup
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-07-08 20:03:13 +0200
committerLaurenz <laurmaedje@gmail.com>2021-07-08 20:03:13 +0200
commit5c327e249e03ac303e7fef40e2df6c6ef834db66 (patch)
tree44e60f7ed494e1e6452f378620baa4afbc755346 /tests/typ/markup
parentf85e5aac64784deac75950a1307f2ca802ad6765 (diff)
Switch to = for headings once again
Diffstat (limited to 'tests/typ/markup')
-rw-r--r--tests/typ/markup/heading.typ24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/typ/markup/heading.typ b/tests/typ/markup/heading.typ
index 8787d959..e0dbd999 100644
--- a/tests/typ/markup/heading.typ
+++ b/tests/typ/markup/heading.typ
@@ -4,39 +4,39 @@
// Different number of hashtags.
// Valid levels.
-# Level 1
-### Level 2
-###### Level 6
+= Level 1
+=== Level 2
+====== Level 6
// Too many hashtags.
// Warning: 1-8 should not exceed depth 6
-####### Level 7
+======= Level 7
---
// Heading vs. no heading.
// Parsed as headings if at start of the context.
-/**/ # Level 1
-{[## Level 2]}
-#box[### Level 3]
+/**/ = Level 1
+{[== Level 2]}
+#box[=== Level 3]
// Not at the start of the context.
-No # heading
+No = heading
// Escaped.
-\# No heading
+\= No heading
---
// While indented at least as much as the start, the heading continues.
-# This
+= This
is
indented.
-# This
+= This
is not.
// Code blocks continue heading.
-# A {
+= A {
"B"
}