Interface: ImageSlotHandlers
Defined in: api.ts:255
Properties
extract
extract: (
data) =>string[]
Defined in: api.ts:257
Extract all image-ref strings from a component's data field.
Parameters
data
string
Returns
string[]
rewrite
rewrite: (
data,pathMap) =>string
Defined in: api.ts:259
Rewrite all image refs in data using the path-map. Return the new data string.
Parameters
data
string
pathMap
ReadonlyMap<string, string>
Returns
string