-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
#import "@preview/touying:0.6.1": *
#import themes.dewdrop: *
#show: dewdrop-theme.with(
aspect-ratio: "16-9",
config-common(
new-section-slide-fn: (section => {
touying-slide-wrapper(self => {
touying-slide(
self:self,
{
utils.display-current-heading(level: 1)
components.mini-slides(fill: self.colors.primary, display-subsection: false)
// layout(fn=>none)
// grid()
// []
},
)
}
)
}),
),
navigation: none,
)
= Subtitle 1
== subsub1
inner1
= Subtitle 2
== subsub2
inner2
In this code, uncommenting any of those three comments will make presentation worked as expected.
But commenting out all three of those will show this: section slide (Subtitle 1) -> subsub2, inner1 -> section slide (Subtitle 2) -> subsub2, inner 2.
Furthermore, if I add this section with no content;
= Subtitle 3It becomes weirder. Section (Subtitle 1) -> Subtitle3, inner 1 -> Section (Subtitle 2) -> subsub2, inner 2 -> Section (Subtitle 2)
All of these behaviour is not shown with those comments uncommented.
tendo518
Metadata
Metadata
Assignees
Labels
No labels