Moved auto note up in caption separator docs (#2856)

Previously `auto` note was only visible when example is shown.
This commit is contained in:
Andrew Voynov 2023-12-05 14:55:13 +03:00 committed by GitHub
parent f3fa900d58
commit 64c2c65c80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -462,6 +462,9 @@ pub struct FigureCaption {
/// The separator which will appear between the number and body. /// 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 /// ```example
/// #set figure.caption(separator: [ --- ]) /// #set figure.caption(separator: [ --- ])
/// ///
@ -470,9 +473,6 @@ pub struct FigureCaption {
/// caption: [A rectangle], /// 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>, pub separator: Smart<Content>,
/// The caption's body. /// The caption's body.