summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/basic-markup.pngbin0 -> 5623 bytes
-rw-r--r--tests/typ/basic-markup.typ22
-rw-r--r--tests/typ/func-page.typ1
3 files changed, 22 insertions, 1 deletions
diff --git a/tests/ref/basic-markup.png b/tests/ref/basic-markup.png
new file mode 100644
index 00000000..d65b7fe5
--- /dev/null
+++ b/tests/ref/basic-markup.png
Binary files differ
diff --git a/tests/typ/basic-markup.typ b/tests/typ/basic-markup.typ
new file mode 100644
index 00000000..b7630e7f
--- /dev/null
+++ b/tests/typ/basic-markup.typ
@@ -0,0 +1,22 @@
+// Test text, emph and strong.
+
+Hello 🌏!
+
+_Emph_ and *strong*!
+
+---
+// Test non-breaking space.
+
+The non-breaking~space does not work.
+
+---
+// Test backslash.
+
+// Directly after word.
+Line\ Break
+
+// Spaces around.
+Line \ Break
+
+// Directly before word does not work.
+No \Break
diff --git a/tests/typ/func-page.typ b/tests/typ/func-page.typ
index 7f87a414..6b9382b9 100644
--- a/tests/typ/func-page.typ
+++ b/tests/typ/func-page.typ
@@ -37,7 +37,6 @@ Fourth
Sixth
[page][Seventh and last]
-
---
// Test changing the layouting directions of pages.