MCPcopy
hub / github.com/YishenTu/claudian / ReplaceImageEmbedsOptions

Interface ReplaceImageEmbedsOptions

src/utils/imageEmbed.ts:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected