From 826f64db58372b70c4f17bb4c739bb0da6aab597 Mon Sep 17 00:00:00 2001 From: guihouchang Date: Thu, 5 Jun 2025 11:39:20 +0800 Subject: [PATCH] feat(new tool): markdown to word & fix lint --- .../command-palette/command-palette.vue | 2 +- src/tools/markdown-to-word/index.ts | 2 +- .../markdown-to-word/markdown-to-word.vue | 18 +++++++++++++----- src/ui/c-select/c-select.vue | 2 +- src/ui/c-table/c-table.vue | 2 +- 5 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/modules/command-palette/command-palette.vue b/src/modules/command-palette/command-palette.vue index bceef5cd..5d953fee 100644 --- a/src/modules/command-palette/command-palette.vue +++ b/src/modules/command-palette/command-palette.vue @@ -128,7 +128,7 @@ function activateOption(option: PaletteOption) {
-
+
{{ category }}
diff --git a/src/tools/markdown-to-word/index.ts b/src/tools/markdown-to-word/index.ts index c29b9dab..46781884 100644 --- a/src/tools/markdown-to-word/index.ts +++ b/src/tools/markdown-to-word/index.ts @@ -10,4 +10,4 @@ export const tool = defineTool({ component: () => import('./markdown-to-word.vue'), icon: Markdown, createdAt: new Date('2024-08-25'), -}); \ No newline at end of file +}); diff --git a/src/tools/markdown-to-word/markdown-to-word.vue b/src/tools/markdown-to-word/markdown-to-word.vue index 4e5a7e01..f6d8a3e3 100644 --- a/src/tools/markdown-to-word/markdown-to-word.vue +++ b/src/tools/markdown-to-word/markdown-to-word.vue @@ -59,8 +59,12 @@ async function convertMarkdownToDocx() {
-

{{ t('tools.markdown-to-word.title') }}

-

{{ t('tools.markdown-to-word.description') }}

+

+ {{ t('tools.markdown-to-word.title') }} +

+

+ {{ t('tools.markdown-to-word.description') }} +