diff options
| author | Jakob Peters <jakobj.peters@gmail.com> | 2024-08-11 13:15:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-11 20:15:30 +0000 |
| commit | d06f3f180cd06d11f45c439180027f57287f4f84 (patch) | |
| tree | c28f2a500020ea58db5a9b456d33beebb40a77d2 /tests | |
| parent | 831062a5880b42d20a5f819175c3d2d2e8b2e724 (diff) | |
Implement math mode language for `raw` (#4687)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/issue-4662-math-mode-language-for-raw.png | bin | 0 -> 381 bytes | |||
| -rw-r--r-- | tests/suite/text/raw.typ | 4 |
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 Binary files differnew file mode 100644 index 00000000..d19efb34 --- /dev/null +++ b/tests/ref/issue-4662-math-mode-language-for-raw.png 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) |
