Log InGet OrdStyle

How do I make a note or warning box?

Write `>note> Your text` — the name between the extra `>` marks is a block style you define once under Settings > Block & Figure Styles. Add a second name for a title: `>warning>Heads up> …`.

> A quotation. Every line that starts with > belongs to it.

>note> A callout in the "note" style.
>warning>Heads up> A callout with a title on the box.

> > A quotation inside a quotation.

The name between the extra > marks is a block style — its fill, border, corner rounding, padding and accent bar, defined once in Settings > Block & Figure Styles. A third section puts a title on the box.

Format > Insert Quote builds any of these for you.

Nothing breaks before you define the style

Until you define one, a named quote is set like an ordinary quotation. So you can write >caution> today, decide what caution should look like next week, and nothing in between renders as an error or a raw mark.

Boxes are not only for quotes

A block style with the same name as a text style boxes any paragraph using it:

[card] This whole paragraph renders inside its own panel.

Give one the same name as a heading style and the box wraps that heading’s whole section — the heading and everything under it. These nest, so a box on a chapter and a box on a section inside it layer like colored panels.

Block styles also give you per-side borders (a bottom-only border is the “rule below” list separator), shaped edges, bleed past the text column to the page edge, and timeline bars — an accent bar turned into a rail with a dot or arrowhead at each entry.

Code blocks, while you are here

```python
def hello():
    print("Hello")
```

Name the language after the opening fence to get it colored. To put a title on the block, add a backtick and the title after the language — an opening fence of ```python`Listing 1 gives the block the heading Listing 1.

See also