typora / typora-issues

Bugs, suggestions or free discussions about the minimal markdown editor — Typora
https://typora.io
1.53k stars 58 forks source link

When exporting to PDF, a line crosses over two pages #6018

Open wasa855 opened 6 months ago

wasa855 commented 6 months ago

Describe the bug When exporting to PDF, a line crosses over two pages.

To Reproduce Steps to reproduce the behavior:

  1. Exporting to PDF.
  2. See the PDF file.

Expected behavior A line should in a single page.

Screenshots / Screencasts image

Sample Markdown File a.md a.pdf

Desktop (please complete the following information):

Typora Version e.g: 1.8.10

Bloonow commented 4 months ago

Maybe you can address this issue by adding page-break-inside: avoid to your .css theme file.