Skip to content

Commit 23bd7aa

Browse files
cwickhamcderv
authored andcommitted
Add page-numbering to schema
backport for #13516
1 parent 622741c commit 23bd7aa

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/resources/schema/document-numbering.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,22 @@
7272
a level-N heading at the beginning of the document
7373
replaces the metadata title.
7474
75+
- name: page-numbering
76+
schema:
77+
anyOf:
78+
- boolean
79+
- string
80+
tags:
81+
formats: [typst]
82+
description:
83+
short: |
84+
Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.
85+
long: |
86+
Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.
87+
88+
See [Typst Numbering](https://typst.app/docs/reference/model/numbering/)
89+
for additional information.
90+
7591
- name: pagenumbering
7692
schema:
7793
maybeArrayOf: string

0 commit comments

Comments
 (0)