mirror of
https://github.com/typst/typst
synced 2025-07-28 06:47:53 +08:00
Improve target documentations
This commit is contained in:
parent
54809020bf
commit
44bb2da462
@ -452,10 +452,10 @@ display_possible_values!(OutputFormat);
|
|||||||
/// The target to compile for.
|
/// The target to compile for.
|
||||||
#[derive(Debug, Default, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, ValueEnum)]
|
#[derive(Debug, Default, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, ValueEnum)]
|
||||||
pub enum Target {
|
pub enum Target {
|
||||||
/// The target that is used for paged, fully laid-out content.
|
/// PDF and image formats.
|
||||||
#[default]
|
#[default]
|
||||||
Paged,
|
Paged,
|
||||||
/// The target that is used for HTML export.
|
/// HTML.
|
||||||
Html,
|
Html,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user