typst-hs icon indicating copy to clipboard operation
typst-hs copied to clipboard

Implement "style" properly

Open jgm opened this issue 2 years ago • 1 comments

Most elements we pass through to be interpreted elsewhere, but this one needs to be evaluated here, because only here do we have the needed style information.

We also need to implement styles properly.

jgm avatar Jul 05 '23 18:07 jgm

The commit addressed the first part of this, evaluating the style function, but we still just have a dummy type for styles. We ought to change handling of set rules so that they modify a style in state, and use this.

jgm avatar Jul 05 '23 19:07 jgm