diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/changelog/0.11.0.md | 8 | ||||
| -rw-r--r-- | docs/changelog/0.12.0.md | 4 | ||||
| -rw-r--r-- | docs/changelog/earlier.md | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/docs/changelog/0.11.0.md b/docs/changelog/0.11.0.md index 2a018e45..27478862 100644 --- a/docs/changelog/0.11.0.md +++ b/docs/changelog/0.11.0.md @@ -59,13 +59,13 @@ _Thanks to [@PgBiel](https://github.com/PgBiel) for his work on tables!_ - When context is available, [`counter.display`] now directly returns the result of applying the numbering instead of yielding opaque content. It should not be used anymore without context. (Deprecation planned) -- The [`state.display`] function should not be used anymore, use [`state.get`] +- The `state.display` function should not be used anymore, use [`state.get`] instead (Deprecation planned) - The `location` argument of [`query`], [`counter.final`], and [`state.final`] should not be used anymore (Deprecation planned) -- The [`styles`]($measure.styles) argument of the `measure` function should not - be used anymore (Deprecation planned) -- The [`style`] function should not be used anymore, use context instead +- The `styles` argument of the `measure` function should not be used anymore + (Deprecation planned) +- The `style` function should not be used anymore, use context instead (Deprecation planned) - The correct context is now also provided in various other places where it is available, e.g. in show rules, layout callbacks, and numbering functions in diff --git a/docs/changelog/0.12.0.md b/docs/changelog/0.12.0.md index 835e2b1c..e8152c53 100644 --- a/docs/changelog/0.12.0.md +++ b/docs/changelog/0.12.0.md @@ -380,11 +380,11 @@ description: Changes in Typst 0.12.0 - [`counter.display`] without an established context - [`counter.final`] with a location - [`state.final`] with a location -- [`state.display`] +- `state.display` - [`query`] with a location as the second argument - [`locate`] with a callback function - [`measure`] with styles -- [`style`] +- `style` ## Development - Added `typst-kit` crate which provides useful APIs for `World` implementors diff --git a/docs/changelog/earlier.md b/docs/changelog/earlier.md index cecc56e5..ecf6816d 100644 --- a/docs/changelog/earlier.md +++ b/docs/changelog/earlier.md @@ -83,7 +83,7 @@ description: Changes in early, unversioned Typst - New [`measure`] function - Measure the layouted size of elements - - To be used in combination with the new [`style`] function that lets you + - To be used in combination with the new `style` function that lets you generate different content based on the style context something is inserted into (because that affects the measured size of content) |
