Hi. I want to add some comments to a multi-line calculation:
$
&1 + 1 \
=&2 \
& #[
Hello \
World
]
$
I expected that the contents inside #[] would be treated as a block. However, line-breaks inside #[] are suppressed, and if I manually force a line-break with \, it breaks the alignment.
You are just entering code mode and then markup mode, since you can add this inline, it is like box, but not actually a box, nor it’s a block. It will add inner content directly, so how it will be laid out is up to the compiler.
Make sure your title is a question you’d ask to a friend about Typst. (Note how the title is much clearer now!)
Also, make sure to mark Andrew’s answer as a solution with the button if it has solved your problem. Otherwise, let us know what you still need help with.