mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Make array.chunks
example more readable (#5975)
This commit is contained in:
parent
d4def09962
commit
bf0d45e2c0
@ -751,7 +751,7 @@ impl Array {
|
|||||||
///
|
///
|
||||||
/// ```example
|
/// ```example
|
||||||
/// #let array = (1, 2, 3, 4, 5, 6, 7, 8)
|
/// #let array = (1, 2, 3, 4, 5, 6, 7, 8)
|
||||||
/// #array.chunks(3)
|
/// #array.chunks(3) \
|
||||||
/// #array.chunks(3, exact: true)
|
/// #array.chunks(3, exact: true)
|
||||||
/// ```
|
/// ```
|
||||||
#[func]
|
#[func]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user