(public plugin: MakeMDPlugin)
| 11 | export class ImageFileTypeAdapter implements FileTypeAdapter<ImageTypeCache, ImageTypeContent> { |
| 12 | private picaInstance; |
| 13 | public constructor (public plugin: MakeMDPlugin) { |
| 14 | this.plugin = plugin; |
| 15 | |
| 16 | this.picaInstance = pica(); |
| 17 | } |
| 18 | public cacheDirectory = ".makemd/thumbnails"; |
| 19 | public supportedFileTypes = ["png", "jpg", "jpeg", "webp", "gif", "avif"]; |
| 20 | public id = 'images.make.md'; |
nothing calls this directly
no outgoing calls
no test coverage detected