The Readme explains how to use this package in a good way, sadly if copied and used as is it already fails at the second line
#import "@preview/drafting:0.2.2"
// Example:
// Default margin in typst is 2.5cm, but we want to use 2cm
// On the left
#set-page-properties(margin-left: 2cm)
as this is not imported with the line shown beforehand.
It would be nice to make this easier for first time user by showing what needs to be imported for the package to work i.e for this example:
#import "@preview/drafting:0.2.2": set-page-properties
// Example:
// Default margin in typst is 2.5cm, but we want to use 2cm
// On the left
#set-page-properties(margin-left: 2cm)
Or by telling them to import all at the start instead:
#import "@preview/drafting:0.2.2": *
The Readme explains how to use this package in a good way, sadly if copied and used as is it already fails at the second line
as this is not imported with the line shown beforehand.
It would be nice to make this easier for first time user by showing what needs to be imported for the package to work i.e for this example:
Or by telling them to import all at the start instead: