Claude Chat Downloader

Add download button to save Claude AI conversations in TXT, MD, or JSON format

< 腳本Claude Chat Downloader的回應

評論:普通 - 腳本能使用,但有一些問題

§
發表於:2025-01-07

Works pretty well, but at a certain point in the markdown file I exported, the formatting for codeblocks started getting a little wonky. The final three backticks would appear on the same line as the final line of code, which could not be parsed properly by VS Code (or any standard markdown linter). If you just added an explicit new line (\n) before the closing backticks in your regex (e.g: return `\`\`\`${lang}\n${code.trim()}\n\`\`\`\n`), that should solve it. Otherwise, it works great and integrates really nicely with the interface.

發表回覆

登入以回覆