mirror of
https://github.com/typst/typst
synced 2025-05-19 03:25:27 +08:00
Merge branch 'main' into main
This commit is contained in:
commit
a445a3108f
@ -22,7 +22,8 @@ use crate::layout::{BlockElem, Size};
|
||||
/// #let text = lorem(30)
|
||||
/// #layout(size => [
|
||||
/// #let (height,) = measure(
|
||||
/// block(width: size.width, text),
|
||||
/// width: size.width,
|
||||
/// text,
|
||||
/// )
|
||||
/// This text is #height high with
|
||||
/// the current page width: \
|
||||
|
Loading…
x
Reference in New Issue
Block a user