feat: add script to format typst files
This commit is contained in:
5
scripts/format_typst.ps1
Normal file
5
scripts/format_typst.ps1
Normal file
@@ -0,0 +1,5 @@
|
||||
# requires typstyle to be installed
|
||||
# cargo install typstyle
|
||||
|
||||
# get all *.typ files and format them
|
||||
Get-ChildItem -Path $PSScriptRoot/../*.typ -Recurse | ForEach-Object { typstyle -i $_.FullName }
|
||||
Reference in New Issue
Block a user