mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Merge branch 'main' of https://github.com/diquah/typst
This commit is contained in:
commit
0148a5913d
@ -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