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
![Image 1](1.jpg) ![Image 2](2.jpg) ![Image 1](1.jpg) ![Image 2](2.jpg) 

Result

Image 1 Image 2

Photo by mymind and Luke Chesser on Unsplash

Licensed under CC BY-NC-SA 4.0
最后更新于 Aug 26, 2023 00:00 UTC
comments powered by Disqus
使用 Hugo 构建
主题 StackJimmy 设计