-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Export to pdf #33
Comments
Why not using wkhtml2pdf on the generated html ? |
I don't know wkhtml2pdf before, looks good and will give it a try. Anyway, thanks for help! |
Use markdown-pdf right now, not bad. |
What about pandoc (#48) ;) |
Pandoc will export to pdf using it's renderer which is not aware of all the extra components supported by hackmd (eg: mathjax, diagram, google emojis, ... ) Converting the generated html to pdf is the best bet if we want to support all the javascript exotic features. and as a bonus, it will give you the same look/styles that you actually see in hackmd versus a custom renderer which would render with different styles. |
Could you add a way to integrate the summary in the pdf export ? |
Hi @vincfleurette, |
What could be nice is adding a PDF export button for something like https://docraptor.com/ for those who are happy to pay for the conversion. PDF generation is always tedious from things like markdown, but as HTML export is already implemented, it could be a simple solution? Example code on their website on how to |
@amlwwalker good point! |
Dear maintainers, Thanks for this awesome project. Was googling for how to export slides to pdf and end up finding this discussion here. Would like a feature that can do this, but after went through some issue discussion here I understand lots of works are still going on. For anyone want to export slides to pdf, here I offer a workaround for you.
Cheers, |
Shall we work on this to land the function to export PDF? |
@tigercosmos Pull Requests are welcome :) In general, we have currently a way to export the documents as PDF on self-hosted instances. Exporting the Slides as PDF would be another nice feature. If you want to implement that feel free to do so. We would love it! |
The "?Print-pdf" feature of the slide no longer works properly. |
@komikoni Sorry about that. It's an issue of |
I've just noticed the export to PDF works much better in Chrome compared to Firefox! I'm using Ubuntu 16.04 |
Support export to pdf is important.
Previous research the result is not very satisfied.
But we found gitprint and it's opensource, might try that again.
https://github.com/adamburmister/gitprint.com
https://github.com/alanshaw/markdown-pdf
The text was updated successfully, but these errors were encountered: