Added typstyle action
Some checks failed
Lints / typstyle (push) Successful in 19s
Lints / typos (push) Successful in 21s
Build and deploy / build (push) Failing after 7m49s

This commit is contained in:
2025-01-21 20:33:42 -08:00
parent cb3e27429f
commit df28a09214
4 changed files with 52 additions and 7 deletions

View File

@ -9,7 +9,9 @@
#let show_solutions = {
if "show_solutions" in sys.inputs {
// Show solutions unless they're explicitly disabled
not (sys.inputs.show_solutions == "false" or sys.inputs.show_solutions == "no")
not (
sys.inputs.show_solutions == "false" or sys.inputs.show_solutions == "no"
)
} else {
// Show solutions by default
true
@ -91,7 +93,12 @@
#let preparedby(name) = (
text(
size: 10pt,
[Prepared by ] + name + [ on ] + datetime.today().display("[month repr:long] [day padding:none], [year]"),
[Prepared by ]
+ name
+ [ on ]
+ datetime
.today()
.display("[month repr:long] [day padding:none], [year]"),
)
)