A README can be valid Markdown and still fail as a project introduction. A table may become difficult to scan, a relative image may point to the wrong directory, or an installation command may be buried below several screens of background. Previewing the README before publishing it to GitHub is a quality-assurance step: render the document, follow its paths, test its examples, and review it as a first-time visitor would.
Use mdview.io to preview the draft in a browser while it is still local. Then use GitHub's own preview or a temporary branch for the final compatibility check. The two previews answer different questions: mdview.io makes the document easy to inspect, while GitHub confirms how repository-specific links, images, and GitHub-flavored Markdown behave at the destination.
Do not wait until the final commit to render the file for the first time. Preview after structural changes, then perform a complete check before a release or public launch.
README.md in the location where it will live.This loop is more reliable than proofreading the raw source alone. Markdown punctuation can look correct in an editor even when the rendered hierarchy or spacing communicates something different.
GitHub-Flavored Markdown, often shortened to GFM, adds useful behavior beyond the most basic Markdown syntax. A pre-publish preview should include the features that carry important information in your README.
| README element | What to verify in the preview |
|---|---|
| Tables | Headers are clear, columns remain readable, and cells do not contain accidental line breaks |
| Task lists | Checked and unchecked states reflect the actual project status |
| Fenced code blocks | The fence closes correctly and the language identifier matches the example |
| Autolinks | URLs and email addresses become the links you intended |
| Strikethrough | Deprecated instructions are visually distinct and still understandable |
| Mermaid diagrams | The diagram renders and its labels remain legible |
| Nested lists | Installation steps and substeps have the intended hierarchy |
For example, a missing closing code fence can turn the remainder of a README into one large code block. A malformed table separator can make a compact compatibility matrix appear as raw pipe-delimited text. These defects are obvious in a rendered preview and easy to overlook in source form.
Previewing outside GitHub is not a promise of pixel-for-pixel visual parity. Renderers may differ in typography, spacing, supported HTML, heading anchors, and newer platform-specific extensions. Treat a clean browser preview as the main review surface and GitHub as the final compatibility target.
Links are where a standalone README preview and a repository-hosted README differ most. GitHub resolves relative paths from the file's location in the repository. A local or pasted preview may not know that repository structure.
Review each path against the planned location of README.md:
project/
├── README.md
├── docs/
│ ├── configuration.md
│ └── contributing.md
└── assets/
└── overview.png
From the root README, these paths are plausible:
[Configuration](docs/configuration.md)
[Contributing](docs/contributing.md)

Check for filename case as well as spelling. A link to docs/Configuration.md may appear to work on a case-insensitive local filesystem but fail when the repository contains docs/configuration.md. Avoid links to temporary local paths such as /Users/name/Desktop/image.png or C:\\project\\screenshot.png; other readers and GitHub cannot access them.
For every important image, also verify that its alternative text describes the useful content. A screenshot labeled only image gives little help when it fails to load or is read by assistive technology.
A technically correct render can still be a poor README. Start at the top and pretend you know nothing about the project. The first visible section should answer three questions quickly:
Next, look at the order of the headings rather than the wording of individual paragraphs. A practical sequence is often:
The exact order depends on the project, but the preview should reveal whether readers must cross a long architecture explanation before they can install the software. If the rendered document feels dense, shorten the opening and move deep reference material into docs/.
Rendered code can look convincing while being impossible to run. Copy each quick-start command from the preview into a clean environment when practical. This catches stale package names, missing environment variables, shell-specific syntax, and steps that silently depend on the author's machine.
Check that:
<TOKEN> are clearly distinguished from literal values;If readers need to edit a configuration file between commands, state that step explicitly. A preview helps you see whether explanatory prose is visually attached to the example it governs.
Rich README content deserves a dedicated pass. In mdview.io, inspect rendered Mermaid diagrams rather than approving the source because its syntax looks plausible. Check for clipped nodes, unreadably long labels, confusing edge crossings, and colors that depend on one theme.
For tables, reduce the browser width and make sure the first column still gives each row enough context. If a comparison requires many wide columns, consider moving the full matrix into a separate document and keeping only the decision-critical fields in the README.
Long documents need navigation landmarks. Use descriptive H2 headings, keep heading levels sequential, and avoid several sections with vague names such as “Details” or “More.” Heading text may also become a link target on GitHub, so changing it can break external links to that section. Check important section links in GitHub before publishing.
Run this checklist after content review and again after any large last-minute edit.
The best time to find a broken README is before it becomes the front page of the repository. Render the local draft in mdview.io, review its structure and rich Markdown, validate repository-relative resources, and test the quick start. Finish with a GitHub-specific check for links, anchors, images, and platform behavior.
That process keeps README review focused on what publishing changes: a source file becomes the first product experience for a new user.