I would like to see support for Lazy Loading of all the objects that reveal.js can lazily load. Currently this requires changing the src attribute of the media object you are looking for to data-src to prevent the browser from loading the media immediately upon page load. For example:
<img src="my image.jpg" /> would be changed to <img data-src="my image.jpg" />
Then as the presentation approaches the slide in question the media is loaded and ready for display when the slide is displayed.
Currently reveal-md cannot do this (at least not as far as I can find documented) presumably because the markdown processor looks at [My Image](my image.jpg) and makes <img src="my image.jpg" />
What can be done to change this behavior and give us lazy loading?
I would like to see support for Lazy Loading of all the objects that reveal.js can lazily load. Currently this requires changing the
src
attribute of the media object you are looking for todata-src
to prevent the browser from loading the media immediately upon page load. For example:<img src="my image.jpg" />
would be changed to<img data-src="my image.jpg" />
Then as the presentation approaches the slide in question the media is loaded and ready for display when the slide is displayed.
Currently reveal-md cannot do this (at least not as far as I can find documented) presumably because the markdown processor looks at
[My Image](my image.jpg)
and makes<img src="my image.jpg" />
What can be done to change this behavior and give us lazy loading?