Export to PDF

Viewed 45

// Please enter a detailed description of the issue
// Description of the issue:

Export to PDF (continuous) not working
Marked2 Version 2.6.46 (1071) on MacOS Tahoe 26.4.

// Please enter a list of steps required to reproduce the issue
// Steps to reproduce:

File > Export as > Save PDF produces a blank page.
File > Export as > Save PDF (Paginated) works as expected.
This since upgrade to MacOS Tahoe.

// If applicable please attach a sample document that causes the issue for you.

Test case is plain text with Preprocessor disabled.

// Configuration (do not edit)
Marked 2 1071 (Direct)
macOS Version: 26.4

additionalMathJaxConfig:
allowPageBreakInCode: YES
bookTxtIsLeanpub: NO
summaryMdIsGitBook: NO
codeIsPoetry: NO
codeCanWrap: YES
collapsibleHeadlines: NO
convertGithubCheckboxes: YES
convertGithubEmoji: YES
convertYAMLToMMD: NO
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: 0
defaultProcessor: MultiMarkdown
enableMiniMap: NO
excludeBlockQuotesFromCounts: NO
excludeFootnotesFromCounts: NO
excludeVerbatimFromCounts: NO
excludeCaptionsFromCounts: NO
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
githubNewlines: YES
h1IsPageBreak: NO
h2IsPageBreak: NO
hrIsPageBreak: NO
includeMathJax: NO
includeKatex: NO
limitTextWidth: YES
mathNumberEquations: NO
mathNumberEquationsSide: 0
mathNumberEquationsAMSOnly: NO
minimalJavaScript: NO
outlineModeExtensions:
permissionGranted: YES
printHeaderBottomLeft:
printHeaderBottomRight:
printHeaderFirstPage: NO
printFooterFirstPage: NO
printHeaderTopLeft:
printHeaderTopRight:
processHTMLFiles: YES
removeMetadataForPreview: NO
removeYAMLHeaders: NO
scrollToEdit: YES
shouldDetectCritic: YES
shouldHighlightMarkupErrors: NO
shouldLoadCritic: NO
syntaxHighlight: NO
syntaxHighlightOnlyLang: NO
useCustomMarkdownProcessor: NO
customMarkdownProcessor: /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/marked_prep.py
useCustomPreprocessor: NO
customPreprocessor: /Library/Python/2.7/site-packages/marked_prep.py
useFirstH1AsPrintTitle: YES

3 Answers

It seems a macOS 26.4+ issue. I used Marked 2 to produce continuous PDFs the same day I updated to this macOS version. After, it was broken and only produced corrupted / empty PDF files.

Yep, I can verify this is the case. Working on a solution right now, at least for Marked 3. Will try to filter it down to Marked 2 after it's solved.

I'm not in a position to test Marked 2 at the moment, will have to take a look. Have you tried the same thing in Marked 3? You can get on the beta at https://markedapp.com/join-the-beta.

Yes, the bug persists in the Marked 3 beta.

I have the very same issue. I was previously able to export to PDF on Tahoe, but when I try now, I always get a blank PDF file that is exactly 847 bytes.

macOS 26.4.1 (25E253)
Marked 2 Version 2.6.46 (1071)