diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/text/raw-syntaxes.png | bin | 0 -> 5142 bytes | |||
| -rw-r--r-- | tests/typ/text/raw-syntaxes.typ | 14 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/ref/text/raw-syntaxes.png b/tests/ref/text/raw-syntaxes.png Binary files differnew file mode 100644 index 00000000..ada751e0 --- /dev/null +++ b/tests/ref/text/raw-syntaxes.png diff --git a/tests/typ/text/raw-syntaxes.typ b/tests/typ/text/raw-syntaxes.typ new file mode 100644 index 00000000..5863e648 --- /dev/null +++ b/tests/typ/text/raw-syntaxes.typ @@ -0,0 +1,14 @@ +// Test code highlighting with custom syntaxes. + +--- +#set page(width: 180pt) +#set text(6pt) +#set raw(syntaxes: "/files/SExpressions.sublime-syntax") + +```sexp +(defun factorial (x) + (if (zerop x) + ; with a comment + 1 + (* x (factorial (- x 1))))) +``` |
