summaryrefslogtreecommitdiff
path: root/tests/typ/markup/basic.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-03-29 14:51:54 +0200
committerLaurenz <laurmaedje@gmail.com>2021-03-29 14:51:54 +0200
commit9c040a9d2b6aa0400df868c8a8581a9e168b9d14 (patch)
treec9052f2dffa386a2f4343e72ae8d18e0f695b964 /tests/typ/markup/basic.typ
parentdf7ba364743cbcadbded78df0250c0b58d70503f (diff)
Move around test cases 🚚
Diffstat (limited to 'tests/typ/markup/basic.typ')
-rw-r--r--tests/typ/markup/basic.typ22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/typ/markup/basic.typ b/tests/typ/markup/basic.typ
new file mode 100644
index 00000000..3e83b911
--- /dev/null
+++ b/tests/typ/markup/basic.typ
@@ -0,0 +1,22 @@
+// Test basic markup.
+
+---
+#let linebreak() = [
+ // Inside the old line break definition is still active.
+ #circle(radius: 2pt, fill: #000) \
+]
+
+A \ B \ C
+
+---
+// Paragraph breaks don't exist!
+#let parbreak() = [ ]
+
+No more
+
+paragraph breaks
+
+for you!
+
+---
+The non-breaking~space does work.