summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-09-04 13:18:35 +0200
committerLaurenz <laurmaedje@gmail.com>2023-09-04 13:18:35 +0200
commit7c42c9bab0b6a6d382b16ba270ebd495ac9d3334 (patch)
treecddb3422071cdf06a052fde1a67b4243d033df30 /docs/reference
parentbe83b2cc66bfd3b6114de8efa49754496cd1f527 (diff)
Docs fixes
Fixes #2059 Fixes #1946 Fixes #1936 Fixes #1862 Fixes #1820 Fixes #1383
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/styling.md2
-rw-r--r--docs/reference/types.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference/styling.md b/docs/reference/styling.md
index 668dde63..31e04b24 100644
--- a/docs/reference/styling.md
+++ b/docs/reference/styling.md
@@ -88,7 +88,7 @@ fantasy encyclopedia.
```example
#set heading(numbering: "(I)")
-#show heading: it => block[
+#show heading: it => [
#set align(center)
#set text(font: "Inria Serif")
\~ #emph(it.body)
diff --git a/docs/reference/types.md b/docs/reference/types.md
index 1136bd27..5de4fb0c 100644
--- a/docs/reference/types.md
+++ b/docs/reference/types.md
@@ -60,7 +60,7 @@ You can convert a value to an integer with the [`int`]($func/int) function.
```
# Float
-A floating-pointer number.
+A floating-point number.
A limited-precision representation of a real number. Typst uses 64 bits to
store floats. Wherever a float is expected, you can also pass an