markdown-it-lazyload

1.0.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i markdown-it-lazyload

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

1.17 kB

Total Files

3

Last publish

Collaborators

  • pavelloz