Skip to content

How to add loading="lazy" to <img>? #148

Discussion options

You must be logged in to vote

@meotimdihia to reiterate what @wooorm said, please review the support guidelines for how to better frame questions https://github.com/rehypejs/.github

I understand you are frustrated, don't take that out on the people helping you.
Saying "it doesn't work" and "documentation is not really good" provides no useful context, and manages to be rude while also wasting time.

The example in the project readme works as documented.
If you have an issue, take some time to lay out what you are experiencing, the environment you are using, what you've tried, and make it replicatable (ideally with a CodeSandbox or StackBlitz).


If you are going to create your own plugin please read https://unifiedjs.co…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@wooorm
Comment options

@meotimdihia
Comment options

@wooorm
Comment options

@ChristianMurphy
Comment options

Answer selected by meotimdihia
@meotimdihia
Comment options

@meotimdihia
Comment options

@ChristianMurphy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants