Open roaldarbol opened 2 months ago
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 (https://github.com/typst/typst/issues/1511). And supported languages are listed here: https://github.com/typst/typst/issues/1511#issuecomment-1822459773.
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 addjinja
/nunchucks
syntax to this lsp?