I think I’ve seen this trick in @Scott_Collier-Weir’s docs — making nice outlined blocks for drawing extra attention. To draw such block, one would use Code Block paragraph style. The problem with it is that it forces all the text in the block to have monospace font (see left).
The solution: use formulas and put all the text there. The style of text in formulas will override the “outer” style forced by the block (see right).
Bonus tip: warning boxes with side-by-side icon and text can be created with a Card
hidden formula also wrapped in a Code Block paragraph:
Card(
Image("https://cdn.coda.io/icons/svg/color/delete-sign.svg"),
Concatenate(
_Bold("Title"),
LineBreak(),
"Message"
)
).Concatenate("")