Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not support bold texts #5

Open
jp06 opened this issue Jun 29, 2018 · 2 comments
Open

Does not support bold texts #5

jp06 opened this issue Jun 29, 2018 · 2 comments

Comments

@jp06
Copy link

jp06 commented Jun 29, 2018

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

@euangoddard
Copy link
Owner

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

@ooker777
Copy link

ooker777 commented Aug 14, 2018

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants