Repository navigation
Add markedit-paste-markdown - #59
lbwork5388 wants to merge 2 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Thank you for your contribution. How is this different from https://github.com/MarkEdit-app/MarkEdit-enhanced-paste? I would suggest improving the existing extension if this one is not hugely different. |
Thanks for the response. I have enhanced paste, which works well. However, when I copy from the Copilot Cursor agent and paste, I only get plain text; the HTML can't be converted to Markdown. So I built this feature to address that. |
|
In that case I think we should address the issue you mentioned by improving the existing extension. These two extension are just too similar, they both use turndown to convert html to markdown. I will close this one. |
Ok |
Adds markedit-paste-markdown, which converts rich text (HTML) on the clipboard to Markdown on paste.
How it differs from Enhanced Paste:
<div>/<span>and is pasted as plain text, with indentation kept. becomes a normal space.MY_CONSTstays as-is, while text that would turn into Markdown syntax is still escaped.Checks:
yarn testandyarn build(with integrity check) pass locally.