Why aren't Markdown code blocks rendering in my exported PDF, but they appear correctly in the live SwiftUI view? #398
Unanswered
jaredcassoutt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone, I have a SwiftUI View and ViewModel setup where users can live-edit Markdown and preview it using MarkdownUI. I'm using ImageRenderer to export this content as a PDF. The live preview displays code blocks correctly, but in the exported PDF, the code blocks don’t appear at all — it’s like they're skipped or stripped out.
Has anyone run into this issue when using MarkdownUI with ImageRenderer or know why code blocks might not render in the PDF output?
Any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions