v2.1.0
This release improves support for relative file paths in src
attributes and image paths without file extensions.
transformImgPath
now receives an optional second parameter containing the outputPath
of the file being processed, as well as the outputDir
, inputPath
, and inputDir
values from eleventy config.
This release also adds the setWidthAndHeightAttrs
config option which allows you to turn off the setting of width
and height
attributes being added to img
elements.