aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/typst/if.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/typst/if.typ')
-rw-r--r--tests/indent/typst/if.typ15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/indent/typst/if.typ b/tests/indent/typst/if.typ
new file mode 100644
index 000000000..41bbaa4c1
--- /dev/null
+++ b/tests/indent/typst/if.typ
@@ -0,0 +1,15 @@
+#if true {
+ "this is one leve"
+}
+
+#set page(header: {
+ if true {
+ "this is internal on level"
+ }
+})
+
+#if true {
+ if false {
+ "this is it"
+ }
+}