mirror of
https://github.com/typst/typst
synced 2025-08-11 21:57:55 +08:00
Improve punctuation in outline.entry.body()
doc
This commit is contained in:
parent
69389d9e52
commit
7187e73bcf
@ -623,7 +623,7 @@ impl OutlineEntry {
|
|||||||
|
|
||||||
/// The content which is displayed in place of the referred element at its
|
/// The content which is displayed in place of the referred element at its
|
||||||
/// entry in the outline. For a heading, this is its
|
/// entry in the outline. For a heading, this is its
|
||||||
/// [`body`]($heading.body), for a figure a caption, and for equations it is
|
/// [`body`]($heading.body); for a figure a caption and for equations, it is
|
||||||
/// empty.
|
/// empty.
|
||||||
#[func]
|
#[func]
|
||||||
pub fn body(&self) -> StrResult<Content> {
|
pub fn body(&self) -> StrResult<Content> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user