Replies: 1 comment
-
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Thanks. You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````qmd
---
title: "Reproducible Quarto Document"
format: html
---
This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.
```{r}
plot(cars)
```

The end.
```` |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am trying to port a corporate pptx template to Quarto + RevealJS. This template has a default background image but also a separate image for "section breaks".
Based on https://github.com/EmilHvitfeldt/quarto-revealjs-cinco-de-mayo/blob/main/_extensions/cinco-de-mayo/cinco.scss I was able to implement classes that set the appropriate background images
.theme-main
uses the main / default background image, while.theme-break
uses the one for the section break. This works as expected. However, the user needs to explicitly set the class for all slides.I would prefer that the user only need to specify the class when needing something other than the default background. I implemented the following lua filter based on link to address this
This works at setting a default background. The issue though is that if you try to specify a section break background (
## Title {.theme-break}
) the main / default background is used instead of that from.theme-break
.Does anybody have any suggestions of how to correct this? My expectation was that since the background image is set by the
.theme-break
class that the Lau filter would do nothing.Beta Was this translation helpful? Give feedback.
All reactions