Skip to content

Commit

Permalink
manual: Add some grid style documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-wolf committed Jan 15, 2024
1 parent f8fef6d commit e5e6c18
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/draw/shapes.typ
Original file line number Diff line number Diff line change
Expand Up @@ -649,8 +649,16 @@
///
/// = Styling
/// *Root:* `grid`
/// / step: TODO
/// / help-lines: TODO
/// == Keys
/// #show-parameter-block("step", ("number", "tuple", "dictionary"), [
/// Distance between grid lines. A distance of $1$ means to draw a
/// grid line every $1$ length units in x- and y-direction.
/// If given a dictionary with `x` and `y` keys or a tuple,
/// the step is set per axis.
/// ], default: 1)
/// #show-parameter-block("help-lines", ("bool",), [
/// If true, force the stroke style to `gray + 0.2pt`
/// ], default: 1)
///
/// = Anchors
/// Supports compass anchors.
Expand Down

0 comments on commit e5e6c18

Please sign in to comment.