Remove place.flush from global scope (#4537)

This commit is contained in:
Laurenz 2024-07-11 11:30:06 +02:00 committed by GitHub
parent 3c22902d6c
commit 36042ff222
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -106,7 +106,6 @@ pub fn define(global: &mut Scope) {
global.define_elem::<ColumnsElem>();
global.define_elem::<ColbreakElem>();
global.define_elem::<PlaceElem>();
global.define_elem::<FlushElem>();
global.define_elem::<AlignElem>();
global.define_elem::<PadElem>();
global.define_elem::<RepeatElem>();

View File

@ -46,7 +46,7 @@ pub struct PlaceElem {
/// Floating elements are positioned at the top or bottom of the page,
/// displacing in-flow content. They are always placed in the in-flow
/// order relative to each other, as well as before any content following
/// a later [`flush`] element.
/// a later [`place.flush`] element.
///
/// ```example
/// #set page(height: 150pt)