Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-06-2023, 10:57 AM   #1
jawalking
Junior Member
jawalking began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2023
Device: none
Getting dark sections when converting from AZW3 to EPUB

I'm getting some dark sections when converting from AZW3 to EPUB, and I was wondering if there are some settings in Calibre that I can tweak to fix this, as I prefer to take notes in EPUB app.

below is the HTML for this specific section:

Code:
<div class="note">
<p class="normal">By default, the name of the project will match the folder name. The <code
class="inlineCode">dotnet new console</code> command created a project file named <code
class="inlineCode">HelloCS.csproj</code> in the <code class="inlineCode">HelloCS</code> folder. If you want to
create a folder and project simultaneously, then you can use the <code class="inlineCode">-o</code> switch. For
example, if you are in the <code class="inlineCode">Chapter01-vscode</code> folder and you want to create a
subfolder and project named <code class="inlineCode">HelloCS</code>, then you enter the following command:</p>
<pre class="programlisting con"><code class="hljs-con">dotnet new console -o HelloCS
</code></pre>
</div>
[IMG]<blockquote class="imgur-embed-pub" lang="en" data-id="a/qv54Li5" data-context="false" ><a href="//imgur.com/a/qv54Li5"></a></blockquote><script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>[/IMG]

[IMG]<blockquote class="imgur-embed-pub" lang="en" data-id="a/dJZtG46" data-context="false" ><a href="//imgur.com/a/dJZtG46"></a></blockquote><script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>[/IMG]

Last edited by jawalking; 04-06-2023 at 11:01 AM.
jawalking is offline   Reply With Quote
Old 04-06-2023, 11:05 AM   #2
jawalking
Junior Member
jawalking began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2023
Device: none
Here are the correct images:

https://imgur.com/a/fOLQbb1
jawalking is offline   Reply With Quote
Advert
Old 04-06-2023, 03:49 PM   #3
jawalking
Junior Member
jawalking began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2023
Device: none
I figured out a workaround.

If anyone is curious:

I ended up just subbing class "programlisting con" for class "programlisting code" and class "hljs-con" for class "inlineCode"
jawalking is offline   Reply With Quote
Old 04-06-2023, 06:40 PM   #4
jawalking
Junior Member
jawalking began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2023
Device: none
Better yet I just defined hljs-con color to be white in the CSS
jawalking is offline   Reply With Quote
Reply

Tags
azw3 conversion, epub


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting EPUB to AZW3/MOBI thesn00ze Conversion 55 03-29-2015 05:47 AM
Converting large AZW3 to EPUB svenlind Conversion 8 03-22-2015 09:33 PM
Converting AZW3 to Epub Lyn2012 Conversion 17 10-06-2014 08:47 AM
Converting azw3 to epub failure Rbneader Conversion 1 06-22-2013 02:44 PM
Error converting AZW3 to EPUB ksbpcitrus Calibre 2 05-25-2013 12:52 PM


All times are GMT -4. The time now is 03:47 AM.


MobileRead.com is a privately owned, operated and funded community.