Trevixal API
    Preparing search index...

    Type Alias StyleKind

    StyleKind: "paragraph" | "character"

    Named styles, as Word's Styles pane keeps them: a paragraph style (Normal, Title, the six headings, and any the writer makes) gives every paragraph that uses it the same font, size, colour, weight and spacing; a character style does the same for a run of text. Change Normal once and every body paragraph follows it.

    The definitions are a document setting, the doc node's styles, holding only what differs from the built-in look: a built-in style with its changes, or a style of the writer's own. A paragraph names its style in its paragraphStyle (a heading is its level's Heading style), and text in a character style carries the charStyle mark. Direct formatting still wins over a style, as in Word.