summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst/src/model/figure.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/typst/src/model/figure.rs b/crates/typst/src/model/figure.rs
index e6ab7a2a..1fffc502 100644
--- a/crates/typst/src/model/figure.rs
+++ b/crates/typst/src/model/figure.rs
@@ -462,6 +462,9 @@ pub struct FigureCaption {
/// The separator which will appear between the number and body.
///
+ /// If set to `{auto}`, the separator will be adapted to the current
+ /// [language]($text.lang) and [region]($text.region).
+ ///
/// ```example
/// #set figure.caption(separator: [ --- ])
///
@@ -470,9 +473,6 @@ pub struct FigureCaption {
/// caption: [A rectangle],
/// )
/// ```
- ///
- /// If set to `{auto}`, the separator will be adapted to the current
- /// [language]($text.lang) and [region]($text.region).
pub separator: Smart<Content>,
/// The caption's body.