Skip to content

Increasing max code container height #1943

@jjallaire

Description

@jjallaire

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1942

Originally posted by pat-s August 17, 2022
I've realized that the max height for code containers is harcoded to 500px by RevealJS.

If more space for code is used (e.g. due to a large font size or many lines of code), the overflowing part is hidden and the container must be scrolled to view it.

The following CSS rule extends the height - maybe this is something which could be made available in the quarto YAML options directly?

.reveal pre.sourceCode code {
        max-height: 700px; // default 500
}
```</div>

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingrevealjsIssues with the revealjs format

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions