Rendered checkboxes misaligned in exported PDFs

Viewed 23

Hi!

I love Marked, but there's a thing that bugged me for the longest time and I should have reported sooner.

I have Render GitHub checkboxes enabled in Settings > Processor.

In the Preview window, this renders properly and is aligned on the entry of each line:

2026-02-06 07_44_45.png

When I export / print to PDF, though, the checkboxes are not properly aligned to their corresponding line:

2026-02-06 07_45_39.png

This happens independently of the selected CSS; the screenshots above are from Swiss, but I haven't found a built-in one that doesn't do that.

I suspect this might be a bug, but maybe I doing something wrong, or there's a combination of settings messing things up...

I tried both MultiMarkdown and Discount as processors, but there's no difference.

This is currently happening on Sequoia, but sure it was on previous OSes as well, as far as I recall it's always been like this and I think I've used (loved!) Marked for at least 5 years.

Thanks and ciao from Italy,

Cesare


// Configuration (do not edit)
Marked 2 1071 (Setapp)
macOS Version: 15.7.3

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: 5
defaultProcessor: MultiMarkdown
enableMiniMap: YES
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: NO
mathNumberEquations: NO
mathNumberEquationsSide: 0
mathNumberEquationsAMSOnly: NO
minimalJavaScript: NO
outlineModeExtensions:
permissionGranted: NO
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:
useCustomPreprocessor: NO
customPreprocessor:
useFirstH1AsPrintTitle: YES

3 Answers

Yep, fixed in v3! Thanks Brett!

I'm using Marked Version 3.0.19 (1148). Checkbox rendering is still a bit messed up in Sequoia. It renders slightly wrong in app, but is slightly worse when rendered to paginated PDF. It occurs (albeit differently) at the default, slightly smaller, and slightly larger font sizes. Is this a Sequoia-specific issue?

hanging-checkbox-formatting.png

pdf-default-font-size.png

checkbox-decrease-to-10pt.png

checkbox-increase-to-14pt.png