\'asis\' chuncks are very useful to output a list of objects in a Markdown document, see following examples : Highcharter, DT, Leaflet, ...
However, in the above exam
You can output multiple datatables without asis. Just put the list of widgets into tagList()
asis
tagList()
```{r} library(purrr) list("cars" = mtcars, "flowers" = iris) %>% map(~DT::datatable(.x)) %>% htmltools::tagList() ```