Open lcnbr opened 1 year ago
Looks like it should work. I have no idea why this is happening but in the meantime the following code seems to work.
#let thmbox(color) = block.with(breakable: true, fill: color, inset: 0.7em, radius: 3pt)
#show thm-selector("thm-group", subgroup: "theorem"): thmbox(thmcolors.red)
I have not yet figured out what the difference between this and your example is (showybox uses a block internally too).
Oh, thanks for the workaround!
I am trying to combine lemmify and showybox but I can't seem to get a breakable thm..Here is what I've got: https://typst.app/project/r4vhyPDGq4h0SUcJRKABkR