The original example I’ve expanded upon and it’s currently hosted here: greenwood-tree · main · bluss / typst-recipes · GitLab (if anyone is interested, we should collaborate to publish it).
I prefer this interface now:
#poem(```
The poem
goes here
```)
We should avoid using show rules on raw, because we don’t want to inherit its default style. I want to inherit important settings like document language, font, size etc from the surrounding document. It’s impossible reset raw’s font and language in a way so that this happens.
I think that’s a great idea. For various reasons I rejected it before, but it deserves a closer look. It definitely gets a bit more messy (relying more on eval for injected code), but it looks like it can enable multiline markup (but not multiline code mode).