Git Product home page Git Product logo

Comments (4)

andrepolischuk avatar andrepolischuk commented on May 18, 2024

Good idea. Maybe also add converting to epub?

from bash-handbook.

denysdovhan avatar denysdovhan commented on May 18, 2024

@andrepolischuk yep, would be cool.

from bash-handbook.

 avatar commented on May 18, 2024

👍 I think we could learn from Addy Osmani's backbone book how to build to the different formats:

https://github.com/addyosmani/backbone-fundamentals

from bash-handbook.

pmuellr avatar pmuellr commented on May 18, 2024

I think this would work well as a .epub file. You'd want to watch for long lines in sample code, but you need to do that for every "static" format, esp PDF.

I actually prefer PDF for ref books genned from HTML, if you can get the color highlighting right, are lucky enough to have the full HTML in a single file, etc. But the only tool I've found acceptable to gen PDF is a web browser, and the preferred browser to do this has changed over the years, due to the way they gen the PDF. Currently, Chrome. Previously, Firefox. Before that, Chrome. etc.

I genned the PDF I put up on Dropbox from AnyViewer, my work-a-day md viewer, which is basically Chrome. Could use some tweaking, but works good enough for me for now, for ad hoc uses like this awesome project. Not out of the question that we could use this technique (basically, use Electron) in some sort of batch mode to gen PDFs.

from bash-handbook.

Related Issues (20)

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.