Skip to content
Discussion options

You must be logged in to vote

By default, figures are stretched, meaning the width/height are set by this feature.

See two ways to make it work.

Option 1 Option 2
---
title: "Reproducible Quarto Document"
format: revealjs
---

## Introduction {.nostretch}

![](elephant.png){width="10%"}
---
title: "Reproducible Quarto Document"
format:
  revealjs:
    auto-stretch: false
---

## Introduction

![](elephant.png){width="10%"}

EDIT: see https://quarto.org/docs/presentations/revealjs/advanced.html#stretch.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@dmkaplan2000
Comment options

@dmkaplan2000
Comment options

@mcanouil
Comment options

@dmkaplan2000
Comment options

@cderv
Comment options

Answer selected by dmkaplan2000
Comment options

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

Comment options

You must be logged in to vote
0 replies
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
3 participants