summaryrefslogtreecommitdiff
path: root/tests/headings/map.cli
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headings/map.cli')
-rw-r--r--tests/headings/map.cli15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/headings/map.cli b/tests/headings/map.cli
new file mode 100644
index 0000000..cdbec38
--- /dev/null
+++ b/tests/headings/map.cli
@@ -0,0 +1,15 @@
+// Note that auto-headings break if we split into multiple doc strings.
+//
+"
+\h1|Heading 1|
+
+\h|Heading 1.1|
+
+\h2|Heading 1.1.1|
+
+\h|Heading 1.2|
+
+\h2|Heading 1.2.1|
+
+\h1|Heading 2|
+"