Support remote image URLs in Typst compiler

This commit is contained in:
2026-06-14 21:03:52 -04:00
parent 1afa80f332
commit 428a8d021e
3 changed files with 46 additions and 0 deletions
+6
View File
@@ -65,6 +65,12 @@ Uploaded images can be referenced natively using the `#image` function in Typst.
#image("logo.png", width: 50%)
```
You can also reference remote images directly by their `http://` or `https://` URL — TypstDrive fetches them at compile time.
```typst
#image("https://example.com/logo.png", width: 50%)
```
## Self-Hosting
TypstDrive is completely self-hostable. A Docker image packages both the Rust backend and the SvelteKit frontend into a single container.