summaryrefslogtreecommitdiff
path: root/tests/typ/markup
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-06-07 18:06:27 +0200
committerLaurenz <laurmaedje@gmail.com>2021-06-07 18:17:47 +0200
commitf26526ba75582f24d2bae18a43de3f6622c588ec (patch)
treed5faa4a1e8354344a5aae023517a81f8521e5ef7 /tests/typ/markup
parent7218892c722ca583297c0ebbda350bdf6f16d3ce (diff)
Switch back to hashtags for headings
Diffstat (limited to 'tests/typ/markup')
-rw-r--r--tests/typ/markup/heading.typ26
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/typ/markup/heading.typ b/tests/typ/markup/heading.typ
index 9bbe3415..56f48bae 100644
--- a/tests/typ/markup/heading.typ
+++ b/tests/typ/markup/heading.typ
@@ -4,44 +4,44 @@
// Different number of hashtags.
// Valid levels.
-=1
-===2
-======6
+# 1
+### 2
+###### 6
// Too many hashtags.
// Warning: 1-8 should not exceed depth 6
-=======7
+####### 7
---
// Heading continuation over linebreak.
// Code blocks continue heading.
-= A{
+# A{
"B"
}
// Function call continues heading.
-= #rect[
+# #rect[
A
] B
// Without some kind of block, headings end at a line break.
-= A
+# A
B
---
// Heading vs. no heading.
// Parsed as headings if at start of the context.
-/**/ = Ok
-{[== Ok]}
-#rect[=== Ok]
+/**/ # Ok
+{[## Ok]}
+#rect[### Ok]
// Not at the start of the context.
-No = heading
+No # heading
// Escaped.
-\= No heading
+\# No heading
---
// Make small, but double heading.
@@ -49,4 +49,4 @@ No = heading
// The new heading's argument list doesn't contain `level`.
// Error: 1-11 unexpected argument
-=== Twice.
+### Twice.