markdown-it-lazyload
A markdown-it.rs plugin to add lazy
to loading
property in <img>
tag.
Usage
let mut parser = new;
add;
add;
md.parse.render;
// <p><img src="https://example.com/example.png" alt="Rust" loading="lazy"></p>
See the tests for more examples.