Laurenz
Laurenz
The enum + methods design sounds good, in principle. One other consideration is whether it's a public enum or a private enum within a struct. That way we could also...
Is there still interesting in completing this?
It's not a fundamental limitation, but transparency is a bit complicated in PDF and it's just not implemented yet.
Yes, I want to support renaming with `as`. Should be relatively easy to implement.
Implemented in https://github.com/typst/typst/pull/1923
There's also @frozolotl's grammar here: https://github.com/frozolotl/tree-sitter-typst
As there are multiple grammars and a third-party LSP, I'm going to close this.
I think its a little early for that, but I can imagine that in the medium term. Also depends on what the maintainers of these projects want and plan.
HTML and EPUB output is planned, but will take some time. :)
Hey, thanks for this PR! This is definitely a useful addition. Personally, I'm leaning towards making dates a real type instead of an element. Then, they could be manipulated, formatted,...