mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
Expand page breaks' triggers for page(height: auto) in docs (#6081)
This commit is contained in:
parent
91956d1f03
commit
636eea18bc
@ -75,9 +75,10 @@ pub struct PageElem {
|
|||||||
/// The height of the page.
|
/// The height of the page.
|
||||||
///
|
///
|
||||||
/// If this is set to `{auto}`, page breaks can only be triggered manually
|
/// If this is set to `{auto}`, page breaks can only be triggered manually
|
||||||
/// by inserting a [page break]($pagebreak). Most examples throughout this
|
/// by inserting a [page break]($pagebreak) or by adding another non-empty
|
||||||
/// documentation use `{auto}` for the height of the page to dynamically
|
/// page set rule. Most examples throughout this documentation use `{auto}`
|
||||||
/// grow and shrink to fit their content.
|
/// for the height of the page to dynamically grow and shrink to fit their
|
||||||
|
/// content.
|
||||||
#[resolve]
|
#[resolve]
|
||||||
#[parse(
|
#[parse(
|
||||||
args.named("height")?
|
args.named("height")?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user