Image Grid & Media
About 150 wordsLess than 1 minute
2026-08-31
Shirone provides responsive multi-column image galleries and inline width control with built-in Lightbox previews and automatic image optimization.
Multi-Column Grid Gallery (grid)
Use the ::: grid container to assemble photos into a structured responsive gallery:
::: grid{columns="3" aspect="16/9" fit="cover"}



:::Parameters
columns: Number of columns (2,3,4).aspect: Fixed aspect ratio (e.g.,16/9,4/3,1/1).fit: Image fitting mode (coverorcontain).
Single Image Sizing and Captions
Annotate width parameters directly within the alt text string:

w-60%: Constrains the image width to 60% of the content container and centers it.- Text within quotation marks renders as the figure caption below.
Copyright
Copyright Ownership:matsuzaka-yuki
License under:Attribution 4.0 International (CC-BY-4.0)