You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.
I have searched the issues of this repo and believe that this is not a duplicate.
I have searched the discussions and believe that my question is not already covered.
Feature Request
Hi there, and thanks for a wonderful extension!
I'm working on creating typst templates, which use the jinja2 or nunchucks templating languages (typst recognises these templating languages). However, in VS Code with typst-lsp, it's almost impossible to read the code as the lsp doesn't recognise it. I've attempted installing jinja2 extensions, but that doesn't help (probably because it's a .typ file).
Would it be possible to add jinja/ nunchucks syntax to this lsp?
The text was updated successfully, but these errors were encountered:
This isn't what you're asking for, but when putting external data into typst documents I'd suggest you either use sys.inputs, if you're using typst as a library, or its data loading capabilities. This would solve your syntax problem as well :) Although I might have misse something because I don't understand what you mean by "typst recognises these templating languages"...
I just mean that you can successfully run the script, so it parses the {{ input.here }} blocks correctly. I think this is a relevant issue on the main repo (typst/typst#1511). And supported languages are listed here: typst/typst#1511 (comment).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Feature Request
Hi there, and thanks for a wonderful extension!
I'm working on creating typst templates, which use the jinja2 or nunchucks templating languages (typst recognises these templating languages). However, in VS Code with typst-lsp, it's almost impossible to read the code as the lsp doesn't recognise it. I've attempted installing jinja2 extensions, but that doesn't help (probably because it's a
.typ
file).Would it be possible to add
jinja
/nunchucks
syntax to this lsp?The text was updated successfully, but these errors were encountered: