1.0.1 • Published 3 years ago
markdown-it-imagination v1.0.1
markdown-it-imagination
Plugin for markdown-it image, allows to pass image sizes 
Options:
lazy
:boolean
true
If enabled, it adds loading="lazy" attribute to the imgcaption
:boolean|1
true
If enabled it converts title into a figcaption (and wraps in figure), if sets to 1, it keeps title attr in img
Examples: see index.test.js