| 26 | const IMAGE_EMBED_PATTERN = /!\[\[([^\]|]+)(?:\|([^\]]+))?\]\]/g; |
| 27 | |
| 28 | interface ReplaceImageEmbedsOptions { |
| 29 | mediaFolder?: string; |
| 30 | sourcePath?: string; |
| 31 | } |
| 32 | |
| 33 | function isImagePath(path: string): boolean { |
| 34 | const ext = path.split('.').pop()?.toLowerCase(); |
nothing calls this directly
no outgoing calls
no test coverage detected