feat: add lazy attribute for img
parent
2ac677919b
commit
d9142a9a46
|
@ -14,7 +14,9 @@ let options = {
|
|||
};
|
||||
let mdfigcaption = require('markdown-it-image-figures');
|
||||
let figoptions = {
|
||||
figcaption: true
|
||||
figcaption: true,
|
||||
lazy: true,
|
||||
async: true,
|
||||
};
|
||||
const mdLib = markdownIt(options).use(mdfigcaption, figoptions);
|
||||
|
||||
|
|
Loading…
Reference in New Issue