mirror of
https://github.com/typst/typst
synced 2025-05-18 02:55:28 +08:00
Moved auto
note up in caption separator docs (#2856)
Previously `auto` note was only visible when example is shown.
This commit is contained in:
parent
f3fa900d58
commit
64c2c65c80
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user