docsy-jekyll icon indicating copy to clipboard operation
docsy-jekyll copied to clipboard

export page to PDF

Open konradzimek1 opened this issue 2 years ago • 1 comments

How can I add export to PDF function tho the docsy theme ? I want to add visible button to every page/post so it can print it to the PDF automaticly. Is there some .js function or HTML ?

konradzimek1 avatar Oct 12 '22 13:10 konradzimek1

There are a few JavaScript libraries that can do this for you - I would google search for "convert page to pdf javascript" and then you could add a right sidebar button to do it. You could do that by page, or as an alternative, have a rendering that generates all pages across content (and then has that button as well).

vsoch avatar Oct 12 '22 17:10 vsoch