zachleat’s avatarzachleat’s Twitter Archive—№ 31,337

    1. …in reply to @justmarkup
      @justmarkup I think github.com/11ty/eleventy-img will work better for you—I’m planning on either deprecating eleventy-plugin-img or making it consume eleventy-img.
  1. …in reply to @zachleat
    @justmarkup Notably I’m moving towards plugins and utilities that do not offer pre-packaged markup, as markup is often the thing that we need the most control over.
    1. …in reply to @zachleat
      @justmarkup I threw a quick example on github.com/11ty/eleventy-img#example-output-an-optimized-image-with-widthheight-attributes but you’ll likely want that markup to live in your templates so really you could just return props and work with it in template land