3 ms·
Typst is a typesetting language that makes programmatic layout and processing JSON input pretty darn simple. I make invoices by having a Typst template read lin
by yencabulator 3y ago
Typst is a typesetting language that makes programmatic layout and processing JSON input pretty darn simple. I make invoices by having a Typst template read line items from a JSON file.
https://github.com/typst/typst https://github.com/typst/typst
- adfaure 3y agoJust spent my Sunday creating my invoice template in typst as well. I enjoyed it, and I could do what I wanted quickly!
- AugusteLef 3y agoNever used it actually, is it in between LaTeX and Markdown with the possibility to process JSON input?
- yencabulator 3y agoI'd describe Typst as somebody wanted a TeX reimplementation in Rust with better syntax and modern ideas, and made that their Masters projects. It's markdown-like (but definitely not exactly CommonMark, don't expect that), with # acting as escape into the world of layout and programming. Templates are just functions that return a datatype called a content block, and so on. https://typst.app/docs/tutorial/writing-in-typst/ https://typst.app/docs/tutorial/writing-in-typst/
- AugusteLef 3y agoOk very interesting, i'll give it a try! Thanks for sharing