Search code examples
rmarkdownr-markdowngithub-flavored-markdown

Programmatically include multiple images to a markdown document


Is there any way to include multiple images in markdown?
Instead of typing:

![](results/Images/experiment1_a.png "a")
![](results/Images/experiment1_b.png "b")
![](results/Images/experiment1_c.png "c")

Maybe it is possible to do:

![](results/Images/experiment1_*.png)

Solution

  • you can to do it with the help of Pander package

    library(pander)
    pander::pandoc.image(image_path)