Suppose you have the following slide

````markdown
---
format: revealjs
---

## This is a veeeeeeeeeeeeeeeeerrrrryyyy loooooooooooooooooooooooooooonnnnngggggg title

```{r}
plot(cars, main = "Title is taking up a huge amount of space so the plot is tiny")
```
````

The result is a slide with a tiny plot and giant title:

<img width="685" alt="Screenshot 2023-02-24 at 6 45 51 PM" src="https://user-images.githubusercontent.com/5965649/221321954-1dda34d4-0375-4dd1-8461-5a9210862152.png">

Applying `.r-fit-text` to slide title solves the issue as it results in behaviour that is like PowerPoint or Keynote:

````markdown
---
format: revealjs
---

## [This is a veeeeeeeeeeeeeeeeerrrrryyyy loooooooooooooooooooooooooooonnnnngggggg title]{.r-fit-text}

```{r}
plot(cars, main = "Title is taking up a huge amount of space so the plot is tiny")
```
````

<img width="692" alt="Screenshot 2023-02-24 at 6 46 50 PM" src="https://user-images.githubusercontent.com/5965649/221322057-4555b0f6-2e8b-44b6-a3b7-76ee0851987c.png">

It would be nice if `.r-fit-text` behaviour was default, and if so, we should add something to the docs about how to disable it at https://quarto.org/docs/presentations/revealjs/advanced.html#fit-text.
jjallaire
2023-02-24T23:48:12Z
mine-cetinkaya-rundel
revealjs
v1.4
open
If slide title is long, its font should be smaller by default
https://github.com/quarto-dev/quarto-cli/issues/4530