mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
Fix missing words and paren in docs (#6046)
This commit is contained in:
parent
24b2f98bf9
commit
37bb632d2e
@ -94,7 +94,7 @@ pub struct BibliographyElem {
|
||||
/// - A path string to load a bibliography file from the given path. For
|
||||
/// more details about paths, see the [Paths section]($syntax/#paths).
|
||||
/// - Raw bytes from which the bibliography should be decoded.
|
||||
/// - An array where each item is one the above.
|
||||
/// - An array where each item is one of the above.
|
||||
#[required]
|
||||
#[parse(
|
||||
let sources = args.expect("sources")?;
|
||||
|
@ -388,7 +388,7 @@ pub struct OutlineEntry {
|
||||
/// space between the entry's body and the page number. When using show
|
||||
/// rules to override outline entries, it is thus recommended to wrap the
|
||||
/// fill in a [`box`] with fractional width, i.e.
|
||||
/// `{box(width: 1fr, it.fill}`.
|
||||
/// `{box(width: 1fr, it.fill)}`.
|
||||
///
|
||||
/// When using [`repeat`], the [`gap`]($repeat.gap) property can be useful
|
||||
/// to tweak the visual weight of the fill.
|
||||
|
@ -188,7 +188,7 @@ pub struct RawElem {
|
||||
/// - A path string to load a syntax file from the given path. For more
|
||||
/// details about paths, see the [Paths section]($syntax/#paths).
|
||||
/// - Raw bytes from which the syntax should be decoded.
|
||||
/// - An array where each item is one the above.
|
||||
/// - An array where each item is one of the above.
|
||||
///
|
||||
/// ````example
|
||||
/// #set raw(syntaxes: "SExpressions.sublime-syntax")
|
||||
|
Loading…
x
Reference in New Issue
Block a user