1.0.1 • Published 2 years ago
markdown-it-lazyload v1.0.1
This code is taken and modified from https://www.npmjs.com/package/markdown-it-image-lazy-loading
Why copy?
Original is doing some other things that breaks the image itself, by removing src
attribute, hence the image is not loading without 3rd party javascript.
What is the difference?
It only adds loading="lazy"
to images. Nothing more, nothing less.