mirror of
https://github.com/typst/typst
synced 2025-08-03 01:37:54 +08:00
Fix incorrect vline.x
docs (#6657)
This commit is contained in:
parent
a676c78a05
commit
a4d4dfb1b6
@ -548,7 +548,7 @@ pub struct GridHLine {
|
||||
/// the grid's `row-gutter` option.
|
||||
#[elem(name = "vline", title = "Grid Vertical Line")]
|
||||
pub struct GridVLine {
|
||||
/// The column before which the horizontal line is placed (zero-indexed).
|
||||
/// The column before which the vertical line is placed (zero-indexed).
|
||||
/// If the `position` field is set to `{end}`, the line is placed after the
|
||||
/// column with the given index instead (see that field's docs for
|
||||
/// details).
|
||||
|
@ -528,7 +528,7 @@ pub struct TableHLine {
|
||||
/// part of all your tables' designs.
|
||||
#[elem(name = "vline", title = "Table Vertical Line")]
|
||||
pub struct TableVLine {
|
||||
/// The column before which the horizontal line is placed (zero-indexed).
|
||||
/// The column before which the vertical line is placed (zero-indexed).
|
||||
/// Functions identically to the `x` field in [`grid.vline`]($grid.vline).
|
||||
pub x: Smart<usize>,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user