-
Install mdbook, uv, just, and the rust toolchain.
-
Clone this repository and change to the directory.
-
Run the following commands.
cargo install --git https://github.com/sitandr/mdbook-typst-highlight --branch main # d7c197c6, the unreleased version
just serve --openIt will call just download to download book sources from GitHub. If you encounter a network error, usually waiting for a few seconds and then retrying will solve the problem.