Closed brimwats1 closed 4 years ago
Hi there!
I’m starting a Paged.js integration to Hugo asap so you’ll be able to print to PDF.
Hey folks, wanna try it out for me? Still pretty experimental, but i’d love to have your thoughts.
https://gitlab.pagedmedia.org/julientaq/pagedjs-hugo
If you follow the readme, you’ll get a print button that you can add to any page as part of the template. next step is to add a configurable option in the front matter to show it or not :)
I can try it out later this week!
I just updated it, so the print modal appears as soon as paged.js has finished.
There's no need to perform PDF generation on the frontend in this manor and we already have requests to add this to the backend part of Academic (https://github.com/sourcethemes/academic-admin ) - feel free to contribute to that repo.
Feature Request
Is your feature request related to a problem? Please describe. I would really like to maintain a resume in markdown on hugo, and then be able to generate a PDF from that when needed.
Describe the solution you'd like The Pagedjs library seems to support this easily: https://www.pagedjs.org/ here's an example of what the button does (under the journal section of the main page: https://www.pagedjs.org/page-floats/
Describe alternatives you've considered The alternative is uploading a PDF
Additional context
@julientaq https://github.com/julientaq is the maintainer.