diff options
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/text/raw-syntaxes.typ | 14 |
1 files changed, 14 insertions, 0 deletions
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))))) +``` |
