Skip to content

Instantly share code, notes, and snippets.

@malte-j
Created August 31, 2022 11:38
Show Gist options
  • Save malte-j/f313cddaf798cc5502ca7b7bfb1163f9 to your computer and use it in GitHub Desktop.
Save malte-j/f313cddaf798cc5502ca7b7bfb1163f9 to your computer and use it in GitHub Desktop.
\usepackage{listings}
\lstset{
captionpos=b,
frame=single
}
\lstdefinelanguage{Typescript}{
keywords={break, case, catch, continue, debugger, default, delete, do, else, finally, for, function, if, in, instanceof, new, return, switch, this, throw, try, typeof, var, void, while, number, with, string, any },
morecomment=[l]{//},
morecomment=[s]{/*}{*/},
morestring=[b]',
morestring=[b]",
sensitive=true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment