summaryrefslogtreecommitdiff
path: root/tests/typ/basics.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-01-13 17:22:33 +0100
committerLaurenz <laurmaedje@gmail.com>2021-01-13 17:22:33 +0100
commitc36a136e6f26ac99e58465ad072c282fe6dbaedf (patch)
treed2c21e28033a4af68460e0159203274cb03e074a /tests/typ/basics.typ
parent2aa4c5bfc6e35ca663aa77899975450e6a4a26de (diff)
Simpler diagnostic localization in tests ♻
Diffstat (limited to 'tests/typ/basics.typ')
-rw-r--r--tests/typ/basics.typ22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/typ/basics.typ b/tests/typ/basics.typ
new file mode 100644
index 00000000..b7630e7f
--- /dev/null
+++ b/tests/typ/basics.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