How do I know what elements compose a function for styling purposes?

That seems like a great idea! I can already imagine LSP adopting the default and auto-generating a default show rule function, i.e. typing

#show figure: it => ...

would suggest a snippet in order to provide a default function that reproduces the default Typst behaviour.

1 Like