Skip to content

Commit

Permalink
Fix some links
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasKroepelin committed Jul 26, 2023
1 parent 5c77bb8 commit 95af562
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Polylux <img src="assets/logo.png" style="width: 3em;"></img>
# Polylux <img src="https://andreaskroepelin.github.io/polylux/book/logo.png" style="width: 3em;"></img>
This is a package for creating presentation slides in [Typst](https://typst.app/).

[![Book badge](https://img.shields.io/badge/docs-book-green)](https://andreaskroepelin.github.io/polylux/book)
Expand Down Expand Up @@ -43,7 +43,7 @@ For the bare-bones, do-it-yourself experience, all you need is:
]
```
This code produces these PDF pages:
![minimal example](assets/minimal.png)
![minimal example](https://andreaskroepelin.github.io/polylux/book/minimal.png)

From there, you can either start creatively adapting the looks to your likings
or you can use one of the provided themes.
Expand Down Expand Up @@ -97,16 +97,18 @@ It is still very unintrusive but gives you some sensible defaults:
]
```
This time, we obtain these PDF pages:
![simple example](assets/simple.png)
![simple example](https://andreaskroepelin.github.io/polylux/book/themes/gallery/simple.png)

As you can see, a theme can introduce its own types of slides (here: `title-slide`,
`slide`, `focus-slide`, `centered-slide`) to let you quickly switch between
different layouts.
The book (**TODO**) has more infos on how to use (and create your own) themes.
The book
[has more infos](https://andreaskroepelin.github.io/polylux/book/themes/themes.html)
on how to use (and create your own) themes.


For dynamic content, polylux also provides [a convenient API for complex
overlays](https://andreaskroepelin.github.io/polylux/book/dynamic.html).
overlays](https://andreaskroepelin.github.io/polylux/book/dynamic/dynamic.html).

Visit the
[book](https://andreaskroepelin.github.io/polylux/book)
Expand Down
Binary file added book/src/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/src/minimal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified book/src/themes/gallery/clean.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion scripts/generate-previews.jl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ gallery = joinpath(themes, "gallery")

# ╔═╡ aa8102d8-029f-4a94-bce4-a7f362b64e4c
generate_previews([
(input = "examples/minimal.typ", output = "assets/minimal.png", label = :none),
(input = "examples/minimal.typ", output = "book/src/minimal.png", label = :none),
typ2png(path = diy, file = "hello-world"),
typ2png(path = diy, file = "title-slide"),
typ2png(path = diy, file = "slide-title"),
Expand Down

0 comments on commit 95af562

Please sign in to comment.