summaryrefslogtreecommitdiff
path: root/tests/typ/meta/heading.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerGitHub <noreply@github.com>2024-04-13 08:39:45 +0000
commit020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch)
treec0027ad22046e2726c22298461327823d6b88d53 /tests/typ/meta/heading.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/meta/heading.typ')
-rw-r--r--tests/typ/meta/heading.typ73
1 files changed, 0 insertions, 73 deletions
diff --git a/tests/typ/meta/heading.typ b/tests/typ/meta/heading.typ
deleted file mode 100644
index a253913e..00000000
--- a/tests/typ/meta/heading.typ
+++ /dev/null
@@ -1,73 +0,0 @@
-// Test headings.
-
----
-// Different number of equals signs.
-
-= Level 1
-== Level 2
-=== Level 3
-
-// After three, it stops shrinking.
-=========== Level 11
-
----
-// Heading vs. no heading.
-
-// Parsed as headings if at start of the context.
-/**/ = Level 1
-#[== Level 2]
-#box[=== Level 3]
-
-// Not at the start of the context.
-No = heading
-
-// Escaped.
-\= No heading
-
----
-// Blocks can continue the heading.
-
-= #[This
-is
-multiline.
-]
-
-= This
- is not.
-
----
-// Test styling.
-#show heading.where(level: 5): it => block(
- text(font: "Roboto", fill: eastern, it.body + [!])
-)
-
-= Heading
-===== Heading 🌍
-#heading(level: 5)[Heading]
-
----
-// Test setting the starting offset.
-#set heading(numbering: "1.1")
-#show heading.where(level: 2): set text(blue)
-= Level 1
-
-#heading(depth: 1)[We're twins]
-#heading(level: 1)[We're twins]
-
-== Real level 2
-
-#set heading(offset: 1)
-= Fake level 2
-== Fake level 3
-
----
-// Passing level directly still overrides all other set values
-#set heading(numbering: "1.1", offset: 1)
-#heading(level: 1)[Still level 1]
-
----
-// Edge cases.
-#set heading(numbering: "1.")
-=
-Not in heading
-=Nope