diff --git a/README.md b/README.md index 441c075..6b5e503 100644 --- a/README.md +++ b/README.md @@ -150,8 +150,7 @@ typst watch ./templates/.typ --root ./ 若要书写和引用伪代码,您可以使用 `algorithm-figure`,为此,您需要导入 `algo` 或 `lovelace` 包。 ```typ -#import "@preview/algorithmic:0.1.0" -#import algorithmic: algorithm +#import "@preview/algo:0.3.4": algo, i, d, comment, code #import "@preview/lovelace:0.2.0": * ```