Skip to content

Consider support for .nostretch directly on image and non only on slide.  #7134

@cderv

Description

@cderv

Discussed in #7128

Originally posted by RoyiAvital October 4, 2023

Description

By default images are stretched by the class r-stretch .

Is there a way to remove this class from a figure / image?

I want to do something like

![](https://i.imgur.com/dCSHJ75.png){fig-align="center" width="800px"} 

Yet the class r-stretch makes the specification of the image width useless.

It would have the same effect as .nostretch on a slide because auto-stretch only apply when there is a single image on a slide.

Metadata

Metadata

Assignees

Labels

revealjsIssues with the revealjs format

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions