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

Code snippets in PDF output get cut off #205

Open
aelmahmoudy opened this issue Dec 13, 2024 · 1 comment
Open

Code snippets in PDF output get cut off #205

aelmahmoudy opened this issue Dec 13, 2024 · 1 comment

Comments

@aelmahmoudy
Copy link

Describe the bug
Code snippets in PDF output get cut off in some pages
To Reproduce
Steps to reproduce the behavior:

  1. Download PDF in v0.4.4 release
  2. See bottom of page 15 & top of page 16, line 5 of code snippet is vertically split between those pages
  3. See page 48, comments on lines 4, 17 for example get cut off

Screenshots:
pages15-16
page48

@ryan4yin
Copy link
Owner

This is expected. The VitePress community currently does not have a very robust PDF generation feature, and the plugin currently in use can only achieve this level of functionality. This PDF was added in response to the requests of some readers, but due to issues like the one you reported in this issue, I would recommend reading the web version instead.

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

2 participants