summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/issue-4662-math-mode-language-for-raw.pngbin0 -> 381 bytes
-rw-r--r--tests/suite/text/raw.typ4
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ref/issue-4662-math-mode-language-for-raw.png b/tests/ref/issue-4662-math-mode-language-for-raw.png
new file mode 100644
index 00000000..d19efb34
--- /dev/null
+++ b/tests/ref/issue-4662-math-mode-language-for-raw.png
Binary files differ
diff --git a/tests/suite/text/raw.typ b/tests/suite/text/raw.typ
index 1807e71a..0de34962 100644
--- a/tests/suite/text/raw.typ
+++ b/tests/suite/text/raw.typ
@@ -585,6 +585,10 @@ if true {
}
```
+--- issue-4662-math-mode-language-for-raw ---
+// Test lang: "typm" syntax highlighting without enclosing dollar signs
+#raw("pi^2", lang: "typm")
+
--- issue-2259-raw-color-overwrite ---
// Test that the color of a raw block is not overwritten
#show raw: set text(fill: blue)