From 1790a27de8efd472258847307961348b916cc9e8 Mon Sep 17 00:00:00 2001 From: Robin Date: Thu, 7 Aug 2025 11:25:30 +0200 Subject: [PATCH] Add link to position field of grid.hline and grid.vline docs (#6670) --- crates/typst-library/src/layout/grid/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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