summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorA-Walrus <58790821+A-Walrus@users.noreply.github.com>2024-04-09 14:49:38 +0300
committerLaurenz <laurmaedje@gmail.com>2024-05-17 14:27:59 +0200
commit8e025c9cdfbb0a5dae536aafc27b5e19eeac1810 (patch)
tree3fa26b5c81b8934c8067862c7d2ceaaa393d5d8d /tests/typ
parentfcd7705fb656a3b4f25b8d01e6830891db71dc0c (diff)
Fix raw bidi text (#3885)
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/layout/par-bidi.typ10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/typ/layout/par-bidi.typ b/tests/typ/layout/par-bidi.typ
index edbd75e1..4ff83802 100644
--- a/tests/typ/layout/par-bidi.typ
+++ b/tests/typ/layout/par-bidi.typ
@@ -55,6 +55,16 @@ Lריווח #h(1cm) R
ב #text("12:00 - 13:00",dir:ltr) בצהריים
---
+// Mixing raw
+#set text(lang: "he")
+לדוג. `if a == b:` זה תנאי
+#set raw(lang:"python")
+לדוג. `if a == b:` זה תנאי
+
+#show raw: set text(dir:rtl)
+לתכנת בעברית `אם א == ב:`
+
+---
// Test setting a vertical direction.
// Ref: false