quarto pandoc --version 2>&1 | head -3
pandoc 3.2
Features: +server +lua
Scripting engine: Lua 5.4
mkgallery
shortcode for QuartoOctober 16, 2024
mkgallery
only available when rendering HTML document. For other rendering format, it will just list up the images.
To use the mkgallery extension in your Quarto project, follow these steps:
_extensions
subdirectory:mkgallery
filter by adding the following lines to the YAML header of your .qmd
file:To display images from the articles/imgs/
directory in your Quarto document using the mkgallery
shortcode, use the following syntax:
This will embed all images from the articles/imgs/
directory onto your document.
You can find the source code for several examples of the mkgallery
shortcode usage at the following link: example.qmd.
To see the rendered version of this example, visit the following link: here.
The version of Quarto built-in Pandoc and Lua: