diff options
| author | Yip Coekjan <69834864+Coekjan@users.noreply.github.com> | 2024-05-30 15:57:12 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-30 07:57:12 +0000 |
| commit | 702271dacb205d43f91736386e5575590f2c3af2 (patch) | |
| tree | 0e21021ef36c488bccdcb91733a0cfe93aaa4ce8 /tests | |
| parent | 06a925a0ee0e1e7b93428d8b4952512a2e48ed79 (diff) | |
Allow setting `raw.theme` to `none` to disable syntax highlighting (#4256)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/raw-theme-set-to-none.png | bin | 0 -> 449 bytes | |||
| -rw-r--r-- | tests/suite/text/raw.typ | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/raw-theme-set-to-none.png b/tests/ref/raw-theme-set-to-none.png Binary files differnew file mode 100644 index 00000000..1451e0c9 --- /dev/null +++ b/tests/ref/raw-theme-set-to-none.png diff --git a/tests/suite/text/raw.typ b/tests/suite/text/raw.typ index 8ced276c..1807e71a 100644 --- a/tests/suite/text/raw.typ +++ b/tests/suite/text/raw.typ @@ -648,6 +648,12 @@ fn main() { #let hi = "Hello World" ``` +--- raw-theme-set-to-none --- +#set raw(theme: none) +```typ +#let foo = "bar" +``` + --- raw-unclosed --- // Test unterminated raw text. // |
