diff --git a/crates/typst-library/src/layout/grid/mod.rs b/crates/typst-library/src/layout/grid/mod.rs index d33e887a3..7db00cff4 100644 --- a/crates/typst-library/src/layout/grid/mod.rs +++ b/crates/typst-library/src/layout/grid/mod.rs @@ -498,7 +498,7 @@ pub struct GridFooter { pub struct GridHLine { /// The row above which the horizontal line is placed (zero-indexed). /// If the `position` field is set to `{bottom}`, the line is placed below - /// the row with the given index instead (see that field's docs for + /// the row with the given index instead (see [`grid.hline.position`] for /// details). /// /// Specifying `{auto}` causes the line to be placed at the row below the @@ -550,7 +550,7 @@ pub struct GridHLine { pub struct GridVLine { /// 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 + /// column with the given index instead (see [`grid.vline.position`] for /// details). /// /// Specifying `{auto}` causes the line to be placed at the column after