Skip to content

Commit

Permalink
docs: fix typo (#285)
Browse files Browse the repository at this point in the history
Unrelated to the PR: Wonderful library. Could have not wished for
anything better.
  • Loading branch information
MultisampledNight authored Oct 25, 2023
1 parent 0f74b29 commit 0e6439e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manual.typ
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ canvas(background: none, length: 1cm, debug: false, body)
You can style draw elements by passing the relevant named arguments to their draw functions. All elements have stroke and fill styling unless said otherwise.

#def-arg("fill", [`<color>` or `<none>`], default: "none", [How to fill the draw element.])
#def-arg("stroke", [`<none>` or `<auto>` or `<length>` \ or `<color>` or `<dicitionary>` or `<stroke>`], default: "black + 1pt", [How to stroke the border or the path of the draw element. See Typst's line documentation for more details: https://typst.app/docs/reference/visualize/line/#parameters-stroke])
#def-arg("stroke", [`<none>` or `<auto>` or `<length>` \ or `<color>` or `<dictionary>` or `<stroke>`], default: "black + 1pt", [How to stroke the border or the path of the draw element. See Typst's line documentation for more details: https://typst.app/docs/reference/visualize/line/#parameters-stroke])

```example
// Draws a red circle with a blue border
Expand Down

0 comments on commit 0e6439e

Please sign in to comment.