mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
Updated comment
This commit is contained in:
parent
4d2dc5e4ac
commit
95eb88899f
@ -55,7 +55,7 @@ export const Images: QuartzTransformerPlugin<Partial<Options>> = (userOpts) => {
|
||||
* HAST plugin that updates image tags of supported formats to serve
|
||||
* optimized images.
|
||||
*
|
||||
* For example, given `<img src="./image.png" />`, it generates:
|
||||
* For example, given `<img src="./image.png" data-slug="image.png" />`, it generates:
|
||||
*
|
||||
* ```html
|
||||
* <a href="./image.webp" class="preview-image-link" data-no-popover="true" data-router-ignore="true">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user