Add article export to Word, PDF, and Markdown
Desktop Client Build / Resolve Build Metadata (push) Successful in 24s
Frontend CI / Frontend (push) Successful in 5m26s
Desktop Client Build / Build Desktop Client (push) Successful in 22m50s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 30s

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-21 23:59:19 +08:00
parent 53ba8ff4cf
commit 56400805f4
7 changed files with 1904 additions and 14 deletions
+16
View File
@@ -1078,6 +1078,22 @@ const enUS = {
noContent: 'This article does not have generated content yet.',
editor: {
publish: 'Publish',
download: 'Download',
downloadFormats: {
word: 'Word',
pdf: 'PDF',
markdown: 'Markdown',
},
downloadMessages: {
success: 'Download started.',
failed: 'Export failed. Please try again.',
},
markdownExportConfirm: {
title: 'Download Markdown',
description:
'Images will be removed from the Markdown file. Text content such as headings, tables, and links will be kept.',
confirm: 'Download',
},
titlePlaceholder: 'Enter article title',
leaveConfirm: {
title: 'Unsaved changes',
+15
View File
@@ -1025,6 +1025,21 @@ const zhCN = {
noContent: "当前文章还没有正文内容",
editor: {
publish: "发布",
download: "下载",
downloadFormats: {
word: "Word",
pdf: "PDF",
markdown: "Markdown",
},
downloadMessages: {
success: "文件已开始下载",
failed: "导出失败,请稍后重试",
},
markdownExportConfirm: {
title: "下载 Markdown",
description: "Markdown 文件将去除正文图片,仅保留标题、文字、表格和链接等文本内容。",
confirm: "确认下载",
},
titlePlaceholder: "请输入文章标题",
leaveConfirm: {
title: "当前文章还没保存",