feat: add script to format typst files

This commit is contained in:
Paul T
2024-04-03 14:38:41 -04:00
committed by Paul T
parent 0b7481e9be
commit bf166be9fb

5
scripts/format_typst.ps1 Normal file
View 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 }