Skip to content
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

feature request: print preview #77

Open
jmetz opened this issue Dec 11, 2024 · 1 comment
Open

feature request: print preview #77

jmetz opened this issue Dec 11, 2024 · 1 comment

Comments

@jmetz
Copy link

jmetz commented Dec 11, 2024

Fantastic project 🙌 !
At the moment there's only one main showstopper that would stop me using this for a documentation-centric site - the
ability to do a print preview similar to in mdbook - that is have a print button that shows all of the documentation rendered
as something print-friendly.

In mdbook this is achieved by having the print-button link to the print.html page that simply renders all of the pages in
order, with page-breaks courtesy of <div style="break-before: page; page-break-before: always;"></div> elements after each section. So similar to how in some (usually older) websites there's a "single-page view".

@jmetz
Copy link
Author

jmetz commented Dec 11, 2024

PS the current print-preview is not printing / saving to pdf friendly:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant