From d06f3f180cd06d11f45c439180027f57287f4f84 Mon Sep 17 00:00:00 2001 From: Jakob Peters Date: Sun, 11 Aug 2024 13:15:30 -0700 Subject: Implement math mode language for `raw` (#4687) --- tests/ref/issue-4662-math-mode-language-for-raw.png | Bin 0 -> 381 bytes tests/suite/text/raw.typ | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 tests/ref/issue-4662-math-mode-language-for-raw.png (limited to 'tests') 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 Binary files /dev/null and b/tests/ref/issue-4662-math-mode-language-for-raw.png 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) -- cgit v1.2.3