Giter Site home page Giter Site logo

readlists's People

Contributors

jimniels avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

saidevac tent4kel

readlists's Issues

Missing license

First of all, thanks for building this, as you I've missed readlist a lot and I found your project as I was starting to build my own, so thanks for saving me many sleepless nights :-)

Would you mind adding a license to this project?

Thanks

Formating issue for some pre/code blocks

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:

image from web page

while in the epub (or HTML output) from Readlists, I get:

image from calibre epub viewer

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.

Custom HTML seems to not work.

I was testing out a copy of https://javascript-for-web-designers.abookapart.com.

When I viewed the exported HTML, I found that I needed the following CSS to make it readable:

img {
  max-width: 100%;
}
pre {
  outline: 1px black solid;
  padding: 1em;
  overflow: auto;
}

I then attempted to create a new copy of the HTML with the CSS placed inside the custom
HTML:

<!DOCTYPE html>
<html>
<head>
<title>
Javascript for Web Designers -- Matt Marquis -- A Book Apart
</title>
<style>
<insert CSS from above here>
</style>
</head>
</html>

I regenerated the HTML and ended with the original title (not the one in the custom HTML)
and no style/css in the head.

Also when I:

  1. saved the Readlist to json,
  2. deleted the readlist and
  3. reloaded the readlist from the json file I had saved

the custom html was not saved.

Am I doing something wrong?

The info dropdown identifies the version of readlists as 4dcaefb.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.