feat: add docx and html2pdf.js for document export functionality

This commit is contained in:
2026-03-10 22:21:11 +08:00
parent 637456ee34
commit 2ad57887cd
7 changed files with 1381 additions and 90 deletions
+12
View File
@@ -31,6 +31,8 @@ export const translations = {
about: 'About Us',
importMd: 'Import Markdown',
exportMd: 'Export Markdown',
exportDocx: 'Export DOCX',
exportPdf: 'Export PDF',
uploadImg: 'Upload Image',
enableAI: 'Enable AI',
disableAI: 'Disable AI',
@@ -72,6 +74,8 @@ export const translations = {
about: '关于我们',
importMd: '导入 Markdown',
exportMd: '导出 Markdown',
exportDocx: '导出 DOCX',
exportPdf: '导出 PDF',
uploadImg: '上传图片',
enableAI: '启用 AI',
disableAI: '禁用 AI',
@@ -113,6 +117,8 @@ export const translations = {
about: '私たちについて',
importMd: 'Markdownをインポート',
exportMd: 'Markdownをエクスポート',
exportDocx: 'DOCXをエクスポート',
exportPdf: 'PDFをエクスポート',
uploadImg: '画像をアップロード',
enableAI: 'AIを有効化',
disableAI: 'AIを無効化',
@@ -154,6 +160,8 @@ export const translations = {
about: '회사 소개',
importMd: 'Markdown 가져오기',
exportMd: 'Markdown 내보내기',
exportDocx: 'DOCX 내보내기',
exportPdf: 'PDF 내보내기',
uploadImg: '이미지 업로드',
enableAI: 'AI 활성화',
disableAI: 'AI 비활성화',
@@ -195,6 +203,8 @@ export const translations = {
about: 'Über uns',
importMd: 'Markdown importieren',
exportMd: 'Markdown exportieren',
exportDocx: 'DOCX exportieren',
exportPdf: 'PDF exportieren',
uploadImg: 'Bild hochladen',
enableAI: 'KI aktivieren',
disableAI: 'KI deaktivieren',
@@ -236,6 +246,8 @@ export const translations = {
about: 'À propos de nous',
importMd: 'Importer Markdown',
exportMd: 'Exporter Markdown',
exportDocx: 'Exporter DOCX',
exportPdf: 'Exporter PDF',
uploadImg: 'Télécharger image',
enableAI: 'Activer IA',
disableAI: 'Désactiver IA',