This doesn't use the normal typst import system so you have two choices:
- Do it the hard way (manually copy paste file and import with file path).
- Do it the harder way (git clone and maybe submodules)
If your report is not in a git repo, then you can just simply clone this repository and use it.
To clone this repository, make sure you are in the same directory as the report.
git clone https://github.com/tblelrd/school-report-template templateThen to use this repository in the Typst file.
#import "template/school-report.typ": report, test-tableIf your report is managed by git, then you will need to use git submodules, (be in the same directory as the report).
git submodule add https://github.com/tblelrd/school-report-template templateThen, you can install the submodule by doing.
git submodule update --init --recursiveAnd you can update the submodule by doing.
git submodule foreach git pullThen to use this repository, it is the same.
#import "template/school-report.typ": report, test-table