library(linguisticsdown)

Passing URL to path

png_url <- 'https://commonmark.org/images/markdown-mark.png'
gif_url <- 'https://media.giphy.com/media/k3dcUPvxuNpK/giphy.gif'

PNG

GIF without alt_path

GIF with alt_path

include_graphics2(gif_url, png_url)

Passing Local Figures to path

JPG

include_graphics2('Darwin.jpg')

Local GIF without alt_path

include_graphics2('local.gif')

Local GIF with alt_path

include_graphics2('local.gif', 'local_gif_static.png')

PDF Output of this Vignette