|
|
|
|
|
by josephg
615 days ago
|
|
It’s best not to think of it as a markup language. It’s a programming language designed around the needs of outputting pdfs. Structurally it’s like a modern, nice version of php, only it’s built for academic articles rather than emitting websites. The code snippet there packs in about 8 typst concepts all at once. It’s like if someone showed off how “simple” c++ is by showing some template-heavy magic. It’s straightforward once you’ve spent time with the language, but it’s a pretty terrible place to start learning typst. (That example shows expression mode, block mode, function calling, tags, named arguments, and probably more. Whew!) |
|