### Bug description

Ubuntu 20.04, running the below file from vscode's render causes the text at the bottom of this file to run off the bottom of the page.  A new page is not created, If I put, say, a plot on the next page to force a new page, the text still does not appear.  Removing the second table seems to fix things.


````
---
title: "Tables trouble"
author: "Daniel Claborne"
format:
    pdf
engine: knitr
execute:
    echo: false
    message: false
    warning: false
editor: visual
---

## A HEADER!

### such header

Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

```{r}
#| label: fig-ggplot
#| fig-cap: "a plot that is very good"
library(ggplot2)
library(knitr)

ggplot(aes(x = 1:1000, y = 1:1000), data = NULL) + geom_point()
```

### header3[^asdf]

**boldtext**
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur. @tbl-tab1

[^asdf]:  footnote

```{r}
#| label: tbl-tab1
#| tbl-cap: "a table using kable"
 
kable(table(c(1,2,3), c(1,2,3)), row.names = TRUE)
```

**b)**
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur. @tbl-tab2

<!-- ```{r}
#| label: tbl-tab2
#| tbl-cap: "A pipe table"
cmatrix = data.frame(
    "1" = c(7, 0, 5, 2),
    "2" = c(0, 20, 0, 1),
    "3" = c(0, 0, 62, 27),
    "4" = c(0, 0, 2, 9),
    check.names = FALSE
)

rownames(cmatrix) = c("1", "2", "3", "4")
kable(cmatrix, row.names = TRUE)
``` -->

|   | 1 | 2  | 3  | 4 |
|---|---|----|----|---|
| 1 | 7 | 0  | 5  | 0 |
| 2 | 0 | 20 | 1  | 0 |
| 3 | 0 | 0  | 62 | 2 |
| 4 | 2 | 1  | 27 | 9 |

: A pipe table {#tbl-tab2}
  
## Wow, now thats a header
  
**part 1**

Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
  
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections [TEXT IS CUT OFF APPROXIMATELY HERE aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaAAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaAAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaAAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaAAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaAAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaAA


````
### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
dragonstyle
2023-03-13T05:15:22Z
clabornd
bug needs-repro
closed
Table pushes text into bottom margin/off page
https://github.com/quarto-dev/quarto-cli/issues/4790