Similar to the https://discord.com/channels/1054443721975922748/1179926907039531109, I was thinking about Typst itself as a plugin. The main reason for it is to be able to execute "clean" Typst, i.e. resetting all the set/show rules that are present in the host Typst document. Even after testing the https://github.com/typst/packages/tree/main/packages/preview/idwtet/0.3.0 package it is still affected by the simple
#set text(size: 10pt, fill: red)
#show raw: set text(size: 7pt)
#show math.equation: set text(size: 9pt)
So it would be nice to be able to provide a truly "default" Typst examples inside "fully customized" Typst.
Of course, if Typst will finally create a reset() function that restores everything to the default state, then such plugin will become useless. But which of these 2 will come first?
And also a sub-question: if current typst's (v0.9.0, Linux) size is about 31.12 MiB, then how this will convert to WASM? If WASM version of Typst (that is used in the website) is available or can be manually created, then I would love to have some instructions on how to get it.