初步支持txt翻译

This commit is contained in:
xunbu committed 2025-05-28 21:02:43 +08:00
1 parent f06026dba1
commit 66621fae50
2 files changed
+74 -69

No files matched your search

+2
View File
@@ -15,6 +15,8 @@ class Document:
self.path=path
self.filename=path.name
self.filebytes=path.read_bytes()
self.suffix=Path(self.filename).suffix
self.stem=Path(self.filename).stem
class Converter(Protocol):
#转换为markdown