0

I am trying to add space between two tables and three graphs on an rmarkdown file that is knit into html. I was able to add space between two tables and add a header to the second table as follows

end of first table code
```

\  

### Header For Second Table

However when I go to use either another header between tables or add whitespace similarly to above, the header shows up on the side of the table like this and no whitespace is added.

I am using pixiedust to make the tables and ggplot2 to make the graphs.

1 Answers1

2

Wrap the following around your first table:

### First Table
<div style="margin-bottom:100px;">
```{r}
# RCODE
```
</div>

Swapping the lines of your table header and the <div.... makes no big difference.

Martin Schmelzer
  • 23,283
  • 6
  • 73
  • 98