-
Notifications
You must be signed in to change notification settings - Fork 12
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 template file as bytes object #88
Comments
Duplicate of #4 |
Found a workaround usings pythons tempfile. Got an Azure function on a consumption plan working to generate pdfs by adding the typ template file as an input in the body and the variables as json in the header. Did have to change the font directory to the main directory during compile. Works great! Thanks for making it possible to finally be able to use an Azure function on a consumption plan to generate template based pdfs. |
Note that support for passing bytes was already added in v0.13.1. |
Thanks! I was using 0.13.0 |
Hi,
Is there a possibility in the near future for support of using the typst template file as a bytes object instead of only as a pathlike input when compiling the pdf? I would really love to use typst inside of an api and sending the template file as an input in the body of the request. Thank you for your great work!
The text was updated successfully, but these errors were encountered: