MCPcopy Create free account
hub / github.com/1Panel-dev/MaxKB / parse_md_image

Function parse_md_image

apps/common/utils/common.py:326–329  ·  view source on GitHub ↗
(content: str)

Source from the content-addressed store, hash-verified

324
325
326def parse_md_image(content: str):
327 matches = re.finditer("!\[.*?\]\(.*?\)", content)
328 image_list = [match.group() for match in matches]
329 return image_list
330
331
332def bulk_create_in_batches(model, data, batch_size=1000):

Callers 3

get_image_listFunction · 0.90
get_image_listFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected