mirror of
https://github.com/typst/typst
synced 2025-05-23 05:25:28 +08:00
Remove outdated docs about toml() not supporting datetimes (#1874)
This commit is contained in:
parent
357bce56f5
commit
63935b9513
@ -266,10 +266,9 @@ fn format_json_error(error: serde_json::Error) -> EcoString {
|
|||||||
///
|
///
|
||||||
/// The file must contain a valid TOML table. TOML tables will be
|
/// The file must contain a valid TOML table. TOML tables will be
|
||||||
/// converted into Typst dictionaries, and TOML arrays will be converted into
|
/// converted into Typst dictionaries, and TOML arrays will be converted into
|
||||||
/// Typst arrays. Strings and booleans will be converted into the Typst
|
/// Typst arrays. Strings, booleans and datetimes will be converted into the Typst
|
||||||
/// equivalents and numbers will be converted to floats or integers depending on
|
/// equivalents and numbers will be converted to floats or integers depending on
|
||||||
/// whether they are whole numbers. For the time being, datetimes will be
|
/// whether they are whole numbers.
|
||||||
/// converted to strings as Typst does not have a built-in datetime yet.
|
|
||||||
///
|
///
|
||||||
/// The TOML file in the example consists of a table with the keys `title`,
|
/// The TOML file in the example consists of a table with the keys `title`,
|
||||||
/// `version`, and `authors`.
|
/// `version`, and `authors`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user