Change how the pages look, through the print rules, and see them.
set_styleChanges any line of the book’s style file, for every page or for one person, and returns what was set, what a print rule changed with its reason, what was refused with its reason, and pictures of the pages as they now print. A path is a part and a property, such as codes.size_mm, codes.align, words.size_pt, heading.italic, photo.grayscale, ink or margins_mm.top. A smaller code on the right, for the voice note only, is [{path:"codes.size_mm",value:15},{path:"codes.align",value:"right"},{path:"codes.which",value:"voice"}]. Green ink on Niamh’s pages only is [{path:"ink",value:"#1F4D2B",person:"Niamh"}]. reset: true takes every change off and goes back to the standard page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book | Yes | The book’s handle. | |
| reset | No | true takes every change off, back to the standard page, before the listed changes apply. | |
| changes | No | Each change: path (a part and a property, as the style file lists them), value, and person when it is for one person’s pages only. |