You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and look at the code examples wrapped in pre, some of them don't have linebreaks.
I think it is caused by the syntax highlighting. For example the original example looks
like this on the web page:
while in the epub (or HTML output) from Readlists, I get:
If you try this you will note that the third pre-block that has no syntax highlighting displays correctly
with linebreaks. Also the second pre-block has linebreaks after lines that do not have any syntax
highlighting.
I am not sure if this can be fixed in Readlists to allow the highlighting to be properly displayed
in the epub. I would be happy to lose the syntax highlighting and get linebreaks where they
should be (or line wraps and line breaks if the line is too long).
Thanks again for a great tool. It works wonderfully for my other application which is to download
EMS articles for use on the ambulance.
The text was updated successfully, but these errors were encountered:
Hello:
I love your readlists implementation. I use it to generate epubs that I can read on my phone when I am
offline.
However I have come across an issue with some web sites. For example, if I create a readlist of:
https://stackabuse.com/python-specific-design-patterns/
and look at the code examples wrapped in pre, some of them don't have linebreaks.
I think it is caused by the syntax highlighting. For example the original example looks
like this on the web page:
while in the epub (or HTML output) from Readlists, I get:
If you try this you will note that the third pre-block that has no syntax highlighting displays correctly
with linebreaks. Also the second pre-block has linebreaks after lines that do not have any syntax
highlighting.
I am not sure if this can be fixed in Readlists to allow the highlighting to be properly displayed
in the epub. I would be happy to lose the syntax highlighting and get linebreaks where they
should be (or line wraps and line breaks if the line is too long).
Thanks again for a great tool. It works wonderfully for my other application which is to download
EMS articles for use on the ambulance.
The text was updated successfully, but these errors were encountered: