diff options
| author | Malo <57839069+MDLC01@users.noreply.github.com> | 2025-05-01 17:43:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-01 15:43:07 +0000 |
| commit | 14241ec1aae43ce3bff96411f62af76a01c7f709 (patch) | |
| tree | d3223586edd632072248552ae0198e2c2e71280a /crates/typst-library/src | |
| parent | 3e6691a93bd8c2947bd22e3c7344c2fab7d1241f (diff) | |
Use the right field name for `figure.caption.position` (#6226)
Diffstat (limited to 'crates/typst-library/src')
| -rw-r--r-- | crates/typst-library/src/model/figure.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-library/src/model/figure.rs b/crates/typst-library/src/model/figure.rs index 78a79a8e..5a137edb 100644 --- a/crates/typst-library/src/model/figure.rs +++ b/crates/typst-library/src/model/figure.rs @@ -457,7 +457,7 @@ impl Outlinable for Packed<FigureElem> { /// customize the appearance of captions for all figures or figures of a /// specific kind. /// -/// In addition to its `pos` and `body`, the `caption` also provides the +/// In addition to its `position` and `body`, the `caption` also provides the /// figure's `kind`, `supplement`, `counter`, and `numbering` as fields. These /// parts can be used in [`where`]($function.where) selectors and show rules to /// build a completely custom caption. |
