Something went wrong. Try again.
forked from ruanyf/markdown-it-image-lazy-loading
Something went wrong. Try again.
Files
readme.md
Figure #
Forked from
markdown-it-lazy-loading.
Usage #
See
markdown-it-lazy-loading
for usage.
Additional usage:
md.use(lazy_loading, {
image_size: true,
base_path: __dirname + "src/",
figure: true,
});
md.render(``);
// <p>`<figure><img src="example.png" alt="" title="image title" loading="lazy" width="100" height="100"><figcaption>image title</figcaption></figure></p>\n
License #
All contents inside this repository, excluding submodules, are licensed under the MIT License. Third-party file(s) and/or code(s) are subject to their original term(s) and/or license(s).