summaryrefslogtreecommitdiff
path: root/tests/typ/markup/basic.typ
diff options
context:
space:
mode:
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.