mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
Fix descriptions of some types (#206)
This commit is contained in:
parent
23de492eea
commit
c9a945f9a0
@ -1,5 +1,5 @@
|
|||||||
# None
|
# None
|
||||||
A type that indicates the absence of any other value.
|
A value that indicates the absence of any other value.
|
||||||
|
|
||||||
The none type has exactly one value: `{none}`.
|
The none type has exactly one value: `{none}`.
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ Not visible: #none
|
|||||||
```
|
```
|
||||||
|
|
||||||
# Auto
|
# Auto
|
||||||
A type that indicates a smart default.
|
A value that indicates a smart default.
|
||||||
|
|
||||||
The auto type has exactly one value: `{auto}`.
|
The auto type has exactly one value: `{auto}`.
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Setting it to `{auto}` lets Typst automatically determine the direction from the
|
|||||||
[text language]($func/text.lang).
|
[text language]($func/text.lang).
|
||||||
|
|
||||||
# Boolean
|
# Boolean
|
||||||
A value with two states.
|
Either `{true}` or `{false}`.
|
||||||
|
|
||||||
The boolean type has two values: `{true}` and `{false}`. It denotes whether
|
The boolean type has two values: `{true}` and `{false}`. It denotes whether
|
||||||
something is active or enabled.
|
something is active or enabled.
|
||||||
@ -379,7 +379,7 @@ the resulting parts.
|
|||||||
- returns: array
|
- returns: array
|
||||||
|
|
||||||
# Content
|
# Content
|
||||||
Representation of document content.
|
A piece of document content.
|
||||||
|
|
||||||
This type is at the heart of Typst. All markup you write and most
|
This type is at the heart of Typst. All markup you write and most
|
||||||
[functions]($type/function) you call produce content values. You can create a
|
[functions]($type/function) you call produce content values. You can create a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user