clipboard2markdown
clipboard2markdown copied to clipboard
Does not support bold texts
Sometimes, the text I copy is not being wrapped by '**' upon paste but it always work with headers and italicized texts. For example, try to copy-paste from the page in the zip file: Cultivation Chat Group - Chapter 445 - Webnovel - Your Fictional Stories Hub_files.zip
Hi, it would be interesting to see what HTML gets into the page before it's run through the markdown converter. I'll take a look if I get a chance. I'm happy to accept and PRs if you have a fix as well
In my case, it happens if the text is copied from OneNote. The OneNote to Markdown Converter can handle this well though. You can see how it works.
Text
- Cognitive workload: the readers read the paper because they think it can solve their problems, not the author's problem.
HTML code
<ul type=disc style='margin-left:.375in;direction:ltr;unicode-bidi:embed;margin-top:0in;margin-bottom:0in'>
<li style='margin-top:0;margin-bottom:0;vertical-align:middle'><span style='font-family:Calibri;font-size:11.0pt'>Cognitive workload: the readers read the paper because they think it can solve </span><span style='font-weight:bold;font-style:italic;font-family:Calibri;font-size: 11.0pt'>their</span><span style='font-family:Calibri;font-size:11.0pt'> problems, not the author's problem. </span></li>
</ul>