MacDownApp / MacDownApp/macdown
Splitting code blocks across pages in PDF
Open
enhancement
- Dominant language
- Rich Text Format
- Stars
- 9.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm trying to generate pdf from a markdown file with a code block. This code block is about one page long and would not fit in the current page, thus the code block starts on a new page, leaving the first one half empty. Is that possible to split code blocks like this across pages?
## Markdown


## Setting
Contributor guide
Research direction
The issue names no source files, tests, or entry points. Review the PDF export path and its pagination behavior, then verify that a code block that crosses a page boundary can continue on the next page without leaving unnecessary blank space.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100