Use the layout-ncol chunk option to organize output in columns, e.g., layout-ncol: 2 for two tables side-by-side.
```{r}#| tbl-cap: Two tables#| tbl-subcap: ["mtcars", "Just cars"]#| layout-ncol: 2library(knitr)# table on the leftkable(head(mtcars[, 1:3]))# table on the rightkable(head(cars))```