Featured image of post Image gallery

Image gallery

Create beautiful interactive image gallery using Markdown

Hugo theme Stack supports the creation of interactive image galleries using Markdown. It’s powered by PhotoSwipe and its syntax was inspired by Typlog

To use this feature, the image must be in the same directory as the Markdown file, as it uses Hugo’s page bundle feature to read the dimensions of the image. External images are not supported.

Syntax

1
![Image1](1.jpg) ![Image2](2.jpg)

Result

Image1 Image2

文章根据 CC BY-NC-SA 4.0 许可发布