quarto-dev / quarto-dev/quarto-cli
embed-resources breaks title-slide-attributes in revealjs
Open
@cderv is already working on this.
Since Oct 13, 2023.
bug
revealjs
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
Not sure if this is a quarto bug or revealjs bug. Using both title-slide-attributes and embed-resources/self-contained breaks the visuals of the presentation, shows title on all the slides and the first 2 slides get combined.
Steps to reproduce
Changin embed-resources from false to true breaks both the visuals and also the 2 slides are combined into one.
---
title: "Test Presentation"
format:
revealjs:
embed-resources: false
title-slide-attributes:
data-background-image: "https://placeholder.pics/svg/100, https://placeholder.pics/svg/100,https://placeholder.pics/svg/100, https://picsum.photos/id/870/800/600?grayscale"
data-background-size: 100px, 100px, 100px, cover
data-background-position: "2% 98%, 50% 98%, 98% 98%, center"
editor: source
---
## Second slide
something something
Expected behavior
embed-resources: true should not break other things.
Actual behavior
No response
Your environment
- IDE: VSCode 1.83.1
- Windows 10
Quarto check output
Quarto 1.4.418
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.1.8: OK
Dart Sass version 1.55.0: OK
Deno version 1.33.4: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.4.418
Path: C:\Users\jakub.kovac\AppData\Local\Programs\Quarto\bin
CodePage: 1252
[>] Checking tools....................OK
TinyTeX: v2023.05
Chromium: (not installed)
[>] Checking LaTeX....................OK
Using: TinyTex
Path: C:\Users\jakub.kovac\AppData\Roaming\TinyTeX\bin\windows\
Version: 2023
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....(None)
Unable to locate an installed version of Python 3.
Install Python 3 from https://www.python.org/downloads/
[>] Checking R installation...........OK
Version: 4.3.1
Path: C:/Users/jakub.kovac/AppData/Local/Programs/R/R-4.3.1
LibPaths:
- C:/Users/jakub.kovac/AppData/Local/Programs/R/R-4.3.1/library
knitr: 1.44
rmarkdown: 2.25
[>] Checking Knitr engine render......OK
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.