重构代码,新增了MarkdownBasedManager和TXTManager实现

This commit is contained in:
xunbu
2025-07-28 23:41:35 +08:00
parent 6ab3278481
commit 80634fe749
45 changed files with 885 additions and 139 deletions

View File

@@ -69,7 +69,7 @@ def uris2placeholder(markdown: str, mask_dict: MaskDict):
return markdown
def placeholder2_uris(markdown: str, mask_dict: MaskDict):
def placeholder2uris(markdown: str, mask_dict: MaskDict):
def placeholder2uri(match: re.Match):
id = match.group(1)
uri = mask_dict.get(id)