How to Preview Markdown PDF Output Before Exporting

Render your Markdown first, then open Print Preview to see where the document will break across pages. Check the exported PDF separately if you use a dedicated export button. A smooth browser page can look fine while the PDF splits a table, strands a heading at the bottom of a page, or sends a link to the wrong section.

Preview the Printed Pages

  1. Open the .md file in mdview.io and make sure its tables, code, and diagrams have rendered.
  2. Choose Export → Print. In Chrome, you can also open the print dialog with Ctrl+P on Windows or Linux, or Command+P on Mac.
  3. Select Save as PDF if you want a file. Check the paper size, orientation, margins, and scale, then inspect the preview page by page. If the preview includes extra pages with site navigation, select just the document's page range or use the dedicated PDF export below.
  4. If you use mdview's PDF button, open that exported file and inspect its pages again. The web app's PDF export uses a separate renderer, so browser print settings do not determine the exported file.

Start with Chrome's print instructions if the browser dialog does not open. For export options and a sample PDF, see the Markdown printing guide.

Try a Layout Check

Paste this sample into the Markdown preview tool. On a short test document, you can use a smaller print paper size or add rows to the table to make a page break easier to reproduce. For actual delivery, use the paper size your readers will use.

# Release handoff

Jump to the [rollback plan](#rollback-plan).

## Validation matrix

| Environment | Package | Test owner | Result | Recovery instructions |
| --- | --- | --- | --- | --- |
| Staging EU | release-preview-2026-11-23 | Release engineering | Pass | Restore the previous build and rerun checkout smoke tests. |
| Production EU | release-preview-2026-11-23 | On-call engineer | Pending | Check the rollout, then confirm the health endpoint and logs. |

## Rollback plan

Restore the previous version, confirm the health check, and note the cause
before starting another rollout.

1. Find the rightmost table column

At normal zoom, look for the Recovery instructions heading and read the last cell in both rows. If the table is cramped, try landscape orientation in the browser print dialog. If you need portrait pages, shorten the cells or move the recovery prose into a checklist below the table. Keep enough scale for the text to remain legible.

2. Check the last heading on each page

If Rollback plan appears alone at the bottom of one page, move a little content out of the preceding table or section, or adjust the print margins. Reopen the preview after each change. If a table crosses a page boundary, verify that the first row on the new page has enough context to read.

3. Click the link in the saved PDF

First click rollback plan in the rendered Markdown to confirm that the link points to the intended heading. Then open the saved PDF and click it again. To make a jump easy to observe in a test, put the target on a later page. If the browser link works but the PDF link does not, try the other export route and verify the resulting file in the PDF viewer your recipients use. A successful jump in HTML does not establish that the PDF retained that link.

In a test with extra rows added to this matrix, Chromium's browser print kept the Rollback plan link as a PDF destination. The dedicated export produced a shorter PDF with repeated table headers. The link was blue and underlined there, but the export did not retain its PDF destination. If the jump matters, test the file you intend to send.

Before You Send the File

If you spot a layout problem, fix the Markdown and repeat the same export checks. If the problem appears only in the PDF, compare the browser print and dedicated PDF outputs using the same Markdown source.