mirror of
https://github.com/typst/typst
synced 2025-08-23 11:14:13 +08:00
Compare commits
4 Commits
0824985fdc
...
a1ab080d11
Author | SHA1 | Date | |
---|---|---|---|
|
a1ab080d11 | ||
|
36ecbb2c8d | ||
|
51ab5b815c | ||
|
c86f9b3a2d |
@ -20,7 +20,7 @@ use crate::foundations::{
|
||||
///
|
||||
/// You can call a function by writing a comma-separated list of function
|
||||
/// _arguments_ enclosed in parentheses directly after the function name.
|
||||
/// Additionally, you can pass any number of trailing content blocks arguments
|
||||
/// Additionally, you can pass any number of trailing content block arguments
|
||||
/// to a function _after_ the normal argument list. If the normal argument list
|
||||
/// would become empty, it can be omitted. Typst supports positional and named
|
||||
/// arguments. The former are identified by position and type, while the latter
|
||||
|
@ -46,7 +46,7 @@ impl i64 {
|
||||
/// or smaller than the minimum 64-bit signed integer.
|
||||
///
|
||||
/// - Booleans are converted to `0` or `1`.
|
||||
/// - Floats and decimals are truncated to the next 64-bit integer.
|
||||
/// - Floats and decimals are truncated to the corresponding 64-bit integer.
|
||||
/// - Strings are parsed in base 10.
|
||||
///
|
||||
/// ```example
|
||||
|
@ -205,7 +205,7 @@
|
||||
single or double quotes.
|
||||
|
||||
The value is always of type [string]($str). More complex data
|
||||
may be parsed manually using functions like [`json.decode`]($json.decode).
|
||||
may be parsed manually using functions like [`json`]($json).
|
||||
|
||||
- name: sym
|
||||
title: General
|
||||
|
Loading…
x
Reference in New Issue
Block a user