From 253231f40db87b1dc3e85dade06fa3a96c03560d Mon Sep 17 00:00:00 2001 From: ShareVB Date: Mon, 2 Feb 2026 22:57:45 +0100 Subject: [PATCH] feat(new tool): Markdown to plain text --- package.json | 1 + pnpm-lock.yaml | 8 ++++++ src/tools/markdown-to-text/index.ts | 13 ++++++++++ .../markdown-to-text/markdown-to-text.vue | 25 +++++++++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 src/tools/markdown-to-text/index.ts create mode 100644 src/tools/markdown-to-text/markdown-to-text.vue diff --git a/package.json b/package.json index e7e11887..6180ee45 100644 --- a/package.json +++ b/package.json @@ -302,6 +302,7 @@ "randexp": "^0.5.3", "regex": "^6.1.0", "rekcod": "^3.0.0", + "remove-markdown": "^0.6.3", "resistor-data": "^1.1.1", "riimut": "^0.9.1", "roboto-base64": "^0.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 11c2787b..41f49350 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -795,6 +795,9 @@ importers: rekcod: specifier: ^3.0.0 version: 3.0.0 + remove-markdown: + specifier: ^0.6.3 + version: 0.6.3 resistor-data: specifier: ^1.1.1 version: 1.1.1 @@ -9783,6 +9786,9 @@ packages: engines: {node: '>=10'} hasBin: true + remove-markdown@0.6.3: + resolution: {integrity: sha512-Qvp2p0Q1irE7AaJO7QemJe04HdObHylJrG+q4hszvPlYp7q4EvfINpEIaIEFdB+3XTDp1h6fiyT60ae00gmRow==} + remove-trailing-separator@1.1.0: resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==} @@ -21756,6 +21762,8 @@ snapshots: rekcod@3.0.0: {} + remove-markdown@0.6.3: {} + remove-trailing-separator@1.1.0: {} replace-ext@2.0.0: {} diff --git a/src/tools/markdown-to-text/index.ts b/src/tools/markdown-to-text/index.ts new file mode 100644 index 00000000..0c442a7b --- /dev/null +++ b/src/tools/markdown-to-text/index.ts @@ -0,0 +1,13 @@ +import { FileText } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Markdown to Text', + path: '/markdown-to-text', + description: 'Convert markdown to plain text', + keywords: ['markdown', 'plain', 'text'], + component: () => import('./markdown-to-text.vue'), + icon: FileText, + createdAt: new Date('2026-02-02'), + category: 'Markdown', +}); diff --git a/src/tools/markdown-to-text/markdown-to-text.vue b/src/tools/markdown-to-text/markdown-to-text.vue new file mode 100644 index 00000000..5f96f025 --- /dev/null +++ b/src/tools/markdown-to-text/markdown-to-text.vue @@ -0,0 +1,25 @@ + + +