v0.3.0, add customizable fill lightness

This commit is contained in:
Gaspard Jankowiak 2025-12-15 10:52:18 +01:00
commit 8668ad46e8
4 changed files with 19 additions and 13 deletions

View file

@ -17,7 +17,7 @@ typship download -n local https://imsc.uni-graz.at/git/gjankowiak/typst-exam/
```bash
mkdir -p ~/.local/share/typst/packages/local/exam
cd ~/.local/share/typst/packages/local/exam
curl https://imsc.uni-graz.at/git/gjankowiak/typst-exam/archive/v0.2.0.tar.gz | tar zx --xform 's/typst-exam/0.2.0/'
curl https://imsc.uni-graz.at/git/gjankowiak/typst-exam/archive/v0.3.0.tar.gz | tar zx --xform 's/typst-exam/0.3.0/'
```
## Quickstart (CLI)
@ -26,7 +26,7 @@ This will create an `exam` directory in the current directory,
containing the example below.
```sh
typst init @local/exam:0.2.0 exam
typst init @local/exam:0.3.0 exam
```
Tested typst version: `0.14.0`.
@ -36,7 +36,7 @@ Tested typst version: `0.14.0`.
Writing an exam is now easy (see [API](#api) for all options):
```typ
#import "@local/exam:0.2.0": exam, exercise, exercise-items, mtext, horiz-only
#import "@local/exam:0.3.0": exam, exercise, exercise-items, mtext, horiz-only
#show: exam.with(
title: "Exam",