
The Problem That Drove Me Crazy
You know that feeling when you copy text from Medium or dev.to, and it pastes with a rainbow of backgrou...
For further actions, you may consider blocking this person and/or reporting abuse
Under which open-source license have you released the code? Could you share the link of the public repository?
Do you have any plans of making it a module that other developers could use in a headless environment?
It's free for everyone.
Code is available on CodePen.
Copyright (c) 2025 by Usman (codepen.io/web-strategist/pen/myVEgdL)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
I misunderstood how this works. I thought you write Markdown in the editor. Then I realised my mistake and I applied some formatting in the editor. But the Markdown I got for this simple case looks broken (misses a few lines breaks I guess, and does not escape "#").
This was from Edge on Android. Although I don't think the browser is to blame here.
I will try to figure it out the solution.
Thanks for pointing out.
Najs work, we've got something similar in Magic Cloud, but on the server side, converting HTML to Markdown, preserving images, hyperlinks, the shebang. We built it to create higher quality RAG data during scraping ...
I want you to test the tool and let me know if there are any bugs in tool
Excellent work on the tool and well written journey!
Thanks, Honestly, I build it to make my writing here on Dev Community better and faster.
Recommended this App!
Thanks, but where?
Unfortunately didn't work for me. I pasted a few websites and it has major formatting issues. It did extract links and images correctly though.
I suggest you have a button that allows people to submit bugs, i.e, when you paste something it can send the input and the output then it can be debugged and improved because you get a test case of an issue.
Excellent Work