mirror of
https://github.com/typst/typst
synced 2025-05-20 12:05:27 +08:00
Fix docs
This commit is contained in:
parent
c641044380
commit
b479be8e9e
@ -13,7 +13,7 @@
|
|||||||
//! order-independent and thus much better suited for further processing than
|
//! order-independent and thus much better suited for further processing than
|
||||||
//! the raw markup.
|
//! the raw markup.
|
||||||
//! - **Typesetting:**
|
//! - **Typesetting:**
|
||||||
//! Next, the content is [typeset] into a [document] containing one [frame]
|
//! Next, the content is [layouted] into a [document] containing one [frame]
|
||||||
//! per page with items at fixed positions.
|
//! per page with items at fixed positions.
|
||||||
//! - **Exporting:**
|
//! - **Exporting:**
|
||||||
//! These frames can finally be exported into an output format (currently PDF,
|
//! These frames can finally be exported into an output format (currently PDF,
|
||||||
@ -26,7 +26,7 @@
|
|||||||
//! [evaluate]: eval::eval
|
//! [evaluate]: eval::eval
|
||||||
//! [module]: eval::Module
|
//! [module]: eval::Module
|
||||||
//! [content]: model::Content
|
//! [content]: model::Content
|
||||||
//! [typeset]: model::typeset
|
//! [layouted]: model::layout
|
||||||
//! [document]: doc::Document
|
//! [document]: doc::Document
|
||||||
//! [frame]: doc::Frame
|
//! [frame]: doc::Frame
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ pub fn layout(
|
|||||||
|
|
||||||
/// A virtual typesetter.
|
/// A virtual typesetter.
|
||||||
///
|
///
|
||||||
/// Holds the state needed to [typeset] content.
|
/// Holds the state needed to [layout] content.
|
||||||
pub struct Vt<'a> {
|
pub struct Vt<'a> {
|
||||||
/// The compilation environment.
|
/// The compilation environment.
|
||||||
pub world: Tracked<'a, dyn World + 'a>,
|
pub world: Tracked<'a, dyn World + 'a>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user