add fade transition and speaker-note
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
subtitle: none,
|
||||
authors: [],
|
||||
date: none,
|
||||
duration: none,
|
||||
doc,
|
||||
) = {
|
||||
|
||||
@ -19,6 +20,21 @@
|
||||
color: rgb("#ea366a"),
|
||||
)
|
||||
|
||||
if duration != none{
|
||||
pdfpc.config(
|
||||
duration-minutes: duration,
|
||||
default-transition: (
|
||||
type: "fade",
|
||||
)
|
||||
)
|
||||
} else {
|
||||
pdfpc.config(
|
||||
default-transition: (
|
||||
type: "fade",
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
title-slide(
|
||||
title: [#title],
|
||||
subtitle: [#subtitle],
|
||||
|
Reference in New Issue
Block a user