Skip to content
Discussion options

You must be logged in to vote

You could define some CSS class with height set at 5em or anything appropriate for you, see https://quarto.org/docs/reference/cells/cells-knitr.html.

This is related to #2040 and #1581 (if you are not using knitr, which here is not the case).

See the Quarto document content
---
title: "Untitled"
format: revealjs
execute: 
  echo: true
---

## Slides 1

```{=html}
<style>
.fourlinesish {
  height: 5.5em;
}
</style>
```

```{r}
#| include: false
library(ggplot2)
pd = position_dodge(.7)
dat = structure(list(Disease = c("Arrhythmia", "Arrhythmia", "Arrhythmia", 
"Arrhythmia", "Cerebrovascular", "Cerebrovascular", "Cerebrovascular", 
"Cerebrovascular", "CHD", "CHD", "CHD", "CHD", "Heart failur…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@lizhiwei1994
Comment options

@mcanouil
Comment options

@lizhiwei1994
Comment options

@cderv
Comment options

@lizhiwei1994
Comment options

Answer selected by lizhiwei1994
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants