Compare commits

..

No commits in common. "e0074dfc01d635c5c14225cab3b81962947351d4" and "59569cbf6172ae8f2159e794c2ee26d3d36713df" have entirely different histories.

3 changed files with 5 additions and 5 deletions

View File

@ -769,7 +769,7 @@ impl Array {
///
/// ```example
/// #let array = (1, 2, 3, 4, 5, 6, 7, 8)
/// #array.chunks(3) \
/// #array.chunks(3)
/// #array.chunks(3, exact: true)
/// ```
#[func]

View File

@ -34,14 +34,14 @@ use crate::loading::{DataSource, Load, Readable};
/// let author = find-child(elem, "author")
/// let pars = find-child(elem, "content")
///
/// [= #title.children.first()]
/// heading(title.children.first())
/// text(10pt, weight: "medium")[
/// Published by
/// #author.children.first()
/// ]
///
/// for p in pars.children {
/// if type(p) == dictionary {
/// if (type(p) == "dictionary") {
/// parbreak()
/// p.children.first()
/// }
@ -50,7 +50,7 @@ use crate::loading::{DataSource, Load, Readable};
///
/// #let data = xml("example.xml")
/// #for elem in data.first().children {
/// if type(elem) == dictionary {
/// if (type(elem) == "dictionary") {
/// article(elem)
/// }
/// }

View File

@ -447,7 +447,7 @@ document.
To let a function style your whole document, the show rule processes everything
that comes after it and calls the function specified after the colon with the
result as an argument. The `.with` part is a _method_ that takes the `conf`
function and pre-configures some of its arguments before passing it on to the
function and pre-configures some if its arguments before passing it on to the
show rule.
</div>