0.1.0 • Published 2 years ago

rehype-external-img-size v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

rehype-external-img-size

rehype plugin to add width and height attributes to external images.

This is rquired to use the Next.js Image component for external images in your markdown. it can also be used to improve Cumulative Layout Shift: Images without dimensions

Installation

npm install rehype-external-img-size