Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Typst #3067

Open
memeplex opened this issue Mar 3, 2024 · 0 comments
Open

Support Typst #3067

memeplex opened this issue Mar 3, 2024 · 0 comments

Comments

@memeplex
Copy link

memeplex commented Mar 3, 2024

In Typst you have arbitrarily nested code and content blocks. A code block is introduced by #{...}, but there are also some shortcuts like #func(...) or #var or #show: ... (known as show-rules). Notice that special characters like # can be escaped as in \#. Comments are C-style, both // and /* ... */. There are also TeX-style math environments $inline$ and $ display $. Since the top-level is content, it's probably convenient to match code, comments and equations and treat everything else as the body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant