Skip to content
Back to Journal
GuideMarch 20, 2026·2 min read

Markdown to PDF Troubleshooting: Images, Tables, and File Size

Diagnose missing images, clipped tables, long code lines, and export limits before sharing a Markdown PDF.

If a document previews correctly but exports poorly, compare it with the sample source and actual PDF. Both use the same converter and Clean theme. Try the sample first, then change one part of your document at a time.

An image shows in my notes but not in the PDF

A relative link such as ./diagram.png refers to your local file. The PDF server cannot read it there. For a non-sensitive asset, replace the path with a publicly reachable HTTPS image URL and export again. If the image is private, remove it or choose a local export workflow. A URL that works only after you sign in may still fail on the PDF server.

The right side of my table is cut off

The preview can scroll horizontally; a PDF page cannot. Keep the columns readers need together, and move long URLs or code samples beneath the table. If you split one table into two, repeat its identifier column so readers can match the rows. Open the PDF and inspect the right edge before sharing it.

Code appears as ordinary text

Check both fences. Put the opening and closing backticks on their own lines. Add a supported language label such as bash or javascript after the opening fence for highlighting. A long single line can still exceed the printable width; break it at a sensible point.

The export is too large or times out

The PDF endpoint accepts up to 1 MiB of rendered HTML and theme CSS in one request. That is not the same as the size of your source Markdown. Split a large document into sections, remove unneeded images, and retry. If you need editable output, keep the Markdown file alongside the PDF.

Return to the Markdown-to-PDF converter.

MT

MarkdownTools Team

March 20, 2026

Try it free

Make your AI output beautiful

Paste markdown from ChatGPT or Claude. Pick a theme. Export as PDF or HTML in seconds.

Open App — It's Free