Skip to content

Is the default behavior to apply style="height: 0px;" to images in revealjs presentations? #12213

Answered by mcanouil
joelostblom asked this question in Q&A
Discussion options

You must be logged in to vote

Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? The goal is to make it as easy as possible for us to recreate your problem so that we can fix it: please help us help you! Thanks.

Also, see the Reveal.js Quarto guide especially the part about auto-stretch feature.

Note that I cannot reproduce:

---
title: "Reproducible Quarto Document"
format: revealjs
engine: markdown
---

## Slide 1

![An image]({{< placeholder 600 400 >}})

You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@joelostblom
Comment options

Answer selected by joelostblom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
revealjs Issues with the revealjs format themes Related to HTML theming or any other style related issue (like highlight-style)
2 participants