3 ms·
Note for the authors: I have just taken a look to the syntax. It is pretty close to djot [1]. Of course Typst is more powerful than djot. One noticeable differ
by conaclos 4y ago
Note for the authors:
I have just taken a look to the syntax.
It is pretty close to djot [1].
Of course Typst is more powerful than djot.
One noticeable difference is the chosen markup for headers (`=` instead of `#`).
This could be nice to reduce differences and make Typst a close-to superset of djot.
[1] https://www.djot.net https://www.djot.net
- laurmaedje 4y agoWe have switched back and forth on this because we also wanted to stay as close to Markdown as possible, just for the familiarity. However, the fact that Typst also uses the hashtag to indicate an inline expression led to too much confusion (`#thing` was a variable access and `# thing` a heading). And the hashtag is really quite nice for these inline expressions, so it won over the headings. Using `=` for them does have some precedent with AsciiDoc.
- breck 4y agoDefinitely a lot of precedent for `=` for headers: https://pldb.com/languages/asciidoc.html https://pldb.com/languages/asciidoc.html https://pldb.com/languages/creole.html https://pldb.com/languages/creole.html https://pldb.com/languages/texti.html https://pldb.com/languages/texti.html https://pldb.com/languages/mediawiki.html https://pldb.com/languages/mediawiki.html