I removed the plugin, concerned it was causing the problem. However, even after removing and restarting the Inkdrop app, when I press Shift+Ins or select Paste from the menu, it will paste as plain text instead of Markdown.
Is this capability broke with version 5.8.1?
[edit]
It only works if a single HTML url link or single image. It used to be I could copy several lines of HTML from a Web page and paste as Markdown directly into Inkdrop.
By default, it is possible to copy contents from a website and paste them as markdown. With Inkdrop 5.8.1, you no longer need a plugin as this function is supported natively.
Do you have changed your keymap?
By default shift+insert and ctrl+v is mapped to core:paste.
This feature works well for me. I can copy and paste complete websites as markdown.
Perhaps you can share which HTML elements cannot be converted?
As Lukas says, it works fine just by pressing the shortcut keys.
If it doesn’t work, I need to know how to reproduce it. Please let me know any further info for the repro.
@Lukas thanks for getting back to me. I verified and the aforementioned mapping is indeed core:paste. I looked through my notes and found a website that I copied from 2022 that I would have used the legacy paste-as-markdown plugin and doing it today it was in plain text. I also tried this on a fresh installation on another computer and it didn’t work either.
I recall being able to successfully paste as Markdown, since the new version changes, but it has been more rare compared to when it doesn’t work. I am just now circling back to this problem that has been frustrating.
Can you try doing a test from this link and copy starting from “Red Canary intelligence…” to “…manufacturing sectors” and see if the two links contained in the paragraphs paste as Markdown or does it leave out the link and paste as text?
I have tested this with a recent version of Google Chrome and Firefox
Converted markdown
Red Canary intelligence analysts have discovered a new Windows malware with worm capabilities that spreads using external USB drives.
This malware is linked to a cluster of [malicious activity](https://www.virustotal.com/gui/collection/cea528052dc6137b9ec1f2b03342921894fd0bb3b21209320bfdcb4ff7d27fb8) dubbed Raspberry Robin and was first observed in September 2021 (cybersecurity firm Sekoia tracks this malware as "[QNAP worm](https://7095517.fs1.hubspotusercontent-na1.net/hubfs/7095517/FLINT%202022-016%20-%20QNAP%20worm_%20who%20benefits%20from%20crime%20\(1\).pdf)").
Red Canary's Detection Engineering team detected the worm in multiple customers' networks, some in the technology and manufacturing sectors.
Good news, disabling plugins worked. I have several computers, so I think I may have narrowed it down to either spell-checker or inkdrop-vim. When I disable these two plugins, it does not yet fix the issue. I than close Inkdrop, and I receive this error each workstation I apply this solution, but the error only happens once after closing the app:
Reopen Inkdrop and viola pasting from HTML as Markdown works again. I than reenable these two plugins and pasting as Markdown continues to work even when I close the app and reopen.
Possibly this was the result of residual code. I’m not sure, but at least I am able to fix the issue on all my workstations.
It seems that the paste-as-markdown functionality in Inkdrop has changed, especially after the removal of the plugin you mentioned. In version 5.8.1, it looks like the capability to paste multiple lines of HTML as Markdown may have been affected.
Here are a few things you can try to troubleshoot this issue:
Check Inkdrop Settings: Go to the settings in Inkdrop and look for any options related to pasting or Markdown formatting. There may be a setting that enables or disables this functionality.
Use Keyboard Shortcuts: Sometimes, different shortcuts may still invoke the paste-as-markdown functionality. Besides Shift + Ins, try Ctrl + V or Cmd + V to see if that makes a difference.
Test with Different Content: Since you mentioned that it works with a single link or image, try copying a small chunk of formatted text (like a paragraph with links) to see if the issue persists with different types of content.
Check for Updates: Ensure that your Inkdrop is updated to the latest version. Sometimes bugs are fixed in newer releases.
Look for Alternative Solutions: If the built-in functionality is no longer working as it used to, consider looking for alternative plugins or tools that can convert HTML to Markdown before pasting into Inkdrop.