Images and Links
Figures with captions, click-to-zoom lightbox, remote image fetching and link validation.
Plain images and figures
Standard Markdown. Add a title to get a centered figure with a caption:

Local SVGs are inlined at build time and follow the theme colors. Raster images get width and height attributes at build time so the page does not shift while loading.
Lightbox
Every content image is click-to-zoom. Press Esc or click anywhere to close. Try it:
Images wrapped in a link keep their link behavior and are excluded from the lightbox.
Remote images
Remote URLs are downloaded at build time and served from your site. A dead URL never breaks the build. The theme logs a warning and falls back to a plain <img> the browser loads at view time. Severity is configurable:
[params.render_hooks.image]
errorLevel = "warning" # ignore | warning (default) | errorTip
Set
errorin CI if you want broken remote images to fail the pipeline.
Links
Internal links are validated at build time:
[params.render_hooks.link]
errorLevel = "warning" # ignore | warning | errorSet error to make broken internal links fail the CI pipeline.
External links open in a new tab and get a small external icon automatically: Hugo documentation.
Same-page anchors work as expected: back to top. The target heading flashes on arrival so readers see where they landed.