Eleventy Plugin Baseline

A magic carpet ride

Table of Contents

Shortcodes

Baseline registers one shortcode.

image

Responsive <picture> markup via @11ty/eleventy-img. Generates multiple formats (AVIF, WebP by default) and widths, with lazy loading and optional <figure> wrapping.

Required: src and alt. Everything else has sensible defaults — widths, formats, sizes, output directory.

When the Image Transform plugin is present, Baseline adds eleventy:ignore to the shortcode's output automatically, so the two don't interfere.

For the full options list and usage examples, see Image shortcode.

Previous: Filters

Next: Image shortcode