-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
Add PDF builder. #17
Comments
Good idea. Maybe also add converting to epub? |
@andrepolischuk yep, would be cool. |
👍 I think we could learn from Addy Osmani's backbone book how to build to the different formats: |
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. |
Patrick Mueller (@pmuellr) build awesome pdf verion for bash-handbook:
We could use markdown-pdf and Travis hooks for building and pushing
bash-handbook.pdf
intogh-pages
.@bucaran, @andrepolischuk what do you think?
The text was updated successfully, but these errors were encountered: