Skip to content

Commit

Permalink
local 0.2.0 -> preview 0.2.1
Browse files Browse the repository at this point in the history
Preparation for merge into typst/packages
  • Loading branch information
knuesel committed Jun 29, 2024
1 parent 6113106 commit bfa4274
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ minideck provides basic functionality for dynamic slides (`pause`, `uncover`, ..
Call `minideck.config` to get the functions you want to use:

```typst
#import "@local/minideck:0.2.0"
#import "@preview/minideck:0.2.1"
#let (template, slide, title-slide, pause, uncover, only) = minideck.config()
#show: template
Expand Down Expand Up @@ -126,7 +126,7 @@ It is also possible to enable handout mode from within the document, as shown in
The behavior of the minideck functions depends on the settings passed to `minideck.config`. For example, handout mode can also be enabled like this:

```typst
#import "@local/minideck:0.2.0"
#import "@preview/minideck:0.2.1"
#let (template, slide, pause) = minideck.config(handout: true)
#show: template
Expand Down Expand Up @@ -168,7 +168,7 @@ Themes are functions and can be configured using the standard [`with` method](ht
Here's an example:

```typst
#import "@local/minideck:0.2.0"
#import "@preview/minideck:0.2.1"
#let (template, slide) = minideck.config(
theme: minideck.themes.simple.with(variant: "dark"),
Expand All @@ -185,7 +185,7 @@ Here's an example:
Note that you can override part of a theme with show and set rules:

```typst
#import "@local/minideck:0.2.0"
#import "@preview/minideck:0.2.1"
#let (template, slide) = minideck.config(
theme: minideck.themes.simple.with(variant: "dark"),
Expand Down Expand Up @@ -219,7 +219,7 @@ Example:

```typst
#import "@preview/cetz:0.2.2" as cetz: *
#import "@local/minideck:0.2.0"
#import "@preview/minideck:0.2.1"
#let (template, slide, only, cetz-uncover, cetz-only) = minideck.config(cetz: cetz)
#show: template
Expand Down Expand Up @@ -252,7 +252,7 @@ Example:

```typst
#import "@preview/fletcher:0.5.0" as fletcher: diagram, node, edge
#import "@local/minideck:0.2.0"
#import "@preview/minideck:0.2.1"
#let (template, slide, fletcher-uncover) = minideck.config(fletcher: fletcher)
#show: template
Expand Down
2 changes: 1 addition & 1 deletion example.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "@local/minideck:0.2.0"
#import "@preview/minideck:0.2.1"

#let (template, slide, title-slide, pause, uncover, only) = minideck.config()

Expand Down
2 changes: 1 addition & 1 deletion typst.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "minideck"
version = "0.2.0"
version = "0.2.1"
entrypoint = "lib.typ"
authors = ["Jeremie Knuesel <https://github.com/knuesel>"]
license = "MIT"
Expand Down

0 comments on commit bfa4274

Please sign in to comment.