Now let me update the theme and build the converter. I'll need marked for Markdown parsing and turndown for HTML-to-Markdown. Let me update the globals, layout, and create the components.
Now let me add marked to the dependencies and create the components:
Now let me create the converter component and page:
Now let me add proper prose styling for the rich text output:
Markdown 转换器页面已完成。它包含左右分栏布局——左侧输入 Markdown 文本(支持从剪贴板粘贴),右侧实时输出三种格式:纯文本、富文本(保留 HTML 样式,可直接粘贴到 Word/Google Docs)和原始 HTML。蓝色主色调的复制按钮支持富文本复制(ClipboardItem API),下载按钮可导出为 .txt 或 .html 文件。