I would like to re-write this code to include in a loop to create Section 1 and section 2
---
output: html_document
---
# Section 1
:::: {style="display: flex;"}
::: {}
Here is the **first** Div.
```{r}
str(iris)
```
:::
::: {}
And this block will be put on the right:
```{r}
plot(iris[, -5])
```
:::
::::
# Section 2
:::: {style="display: flex;"}
::: {}
Here is the **first** Div.
```{r}
str(iris)
```
:::
::: {}
And this block will be put on the right:
```{r}
plot(iris[, -5])
```
:::
::::