summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-04-02 19:45:53 +0200
committerLaurenz <laurmaedje@gmail.com>2023-04-02 19:47:42 +0200
commitb469f30c83f50a5728888c7a800d31321e160e5d (patch)
tree2a6b017de627d55de3925b9985906d1b151d793b /tests
parentfa4878f7d00052d1c960b836c7d689e4e7b8428e (diff)
Fix block spacing
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/layout/block-spacing.pngbin0 -> 1868 bytes
-rw-r--r--tests/typ/layout/block-spacing.typ9
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/layout/block-spacing.png b/tests/ref/layout/block-spacing.png
new file mode 100644
index 00000000..d73abac0
--- /dev/null
+++ b/tests/ref/layout/block-spacing.png
Binary files differ
diff --git a/tests/typ/layout/block-spacing.typ b/tests/typ/layout/block-spacing.typ
new file mode 100644
index 00000000..2c636676
--- /dev/null
+++ b/tests/typ/layout/block-spacing.typ
@@ -0,0 +1,9 @@
+// Test block spacing.
+
+---
+#set block(spacing: 10pt)
+Hello
+
+There
+
+#block(spacing: 20pt)[Further down]