Writing Markdown is easy; writing Markdown that remains readable across GitHub, GitLab, documentation sites, issue trackers, and local editors takes a little more care. This practical checklist covers a dependable Markdown formatting workflow, a reusable README structure, portable syntax examples, preview habits, accessibility checks, and the platform-specific details to review before publishing.
Overview
Markdown is a lightweight way to add structure to plain text. Headings, lists, links, images, tables, blockquotes, and code fences can turn a rough note into useful project documentation without requiring a complex editor. The challenge is that Markdown is interpreted by a renderer, and renderers do not always support the same extensions or display every feature in the same way.
A reliable workflow therefore has three parts:
- Write portable Markdown first. Prefer broadly supported syntax for content that may move between platforms.
- Preview the actual destination. A local Markdown previewer is useful, but the repository, documentation site, or issue tracker is the final test.
- Check the rendered result as a reader would. Look for missing context, inaccessible images, confusing links, broken code examples, and headings that do not form a logical outline.
Use this guide when publishing a README, preparing release notes, documenting an API, creating an issue template, or reviewing a pull request that changes technical documentation.
Checklist by scenario
For a project README
A README should answer the questions a new contributor or user is most likely to ask. A practical structure looks like this:
# Project name
Short description of what the project does and who it is for.
## Features
- Important capability
- Supported workflow
- Notable limitation
## Requirements
- Runtime or language version
- Required services or credentials
## Installation
```bash
npm install
```
## Usage
```bash
npm run dev
```
## Configuration
Explain required environment variables without including real secrets.
## Contributing
Describe the expected branch, test, and review workflow.
## License
State where licensing information can be found.
- Use one top-level heading for the project name.
- Put the shortest useful description near the beginning.
- Show commands in fenced code blocks and identify the language when applicable.
- Explain what a command does, not only how to copy it.
- Use relative links for files within the same repository when portability matters.
- Remove obsolete setup steps after changing the project workflow.
For technical documentation
Documentation benefits from predictable hierarchy and scannable examples. Use headings in order, starting with ## beneath the document title and moving to ### for subsections. Avoid choosing a heading level only because it looks larger; the heading should describe the document structure.
For links, write descriptive text rather than pasting a bare URL:
Read the [API authentication guide](./docs/authentication.md) before making requests.
“API authentication guide” gives the reader useful context. “Click here” and unexplained URLs do not. If a link points to a specific section, confirm that the destination heading and anchor are stable in the target renderer.
For issue templates and bug reports
Issue templates should guide the reporter without hiding the information maintainers need. Keep prompts explicit and easy to replace:
## Description
## Steps to reproduce
1.
2.
3.
## Expected behavior
## Actual behavior
## Environment
- Operating system:
- Browser or runtime:
- Version:
## Relevant logs
```text
Paste sanitized logs here.
```
Use HTML comments for instructions that should disappear when the issue is submitted. Do not rely on comments for information that every reader must see.
For tables and comparison notes
Basic Markdown table syntax is compact and widely recognized:
| Option | Best for | Trade-off |
| --- | --- | --- |
| A | Small projects | Fewer controls |
| B | Larger workflows | More setup |
Keep cell contents short. Tables become difficult to read on narrow screens when they contain paragraphs, long URLs, or multiple code examples. If the content is complex, use headings and bullet lists instead.
For code blocks, alerts, and images
Always use fenced code blocks for multiline code:
```javascript
const message = "Hello, Markdown";
console.log(message);
```
The language label can enable syntax highlighting, but highlighting is a presentation aid rather than a substitute for readable code. Keep examples complete enough to understand and remove unrelated details.
Callout or alert syntax is often platform-specific. Some renderers support special blockquote markers, while others display the same text as an ordinary quote. If portability matters, use a normal heading or blockquote:
> **Note:** This example assumes the application is running locally.
For images, include meaningful alternative text and avoid using an image as the only place where essential information appears:

Keep filenames stable, use a sensible relative path where possible, and check that the image remains available to readers who do not have access to a private local directory.
What to double-check
Before publishing, open the document in a Markdown editor preview and then inspect it in the destination platform. A Markdown previewer can reveal unmatched fences, malformed tables, and unexpected paragraph breaks, but it cannot perfectly reproduce every site-specific extension.
- Heading hierarchy: Confirm that headings describe a logical outline and that no section skips levels without a reason.
- Code fences: Check that every opening fence has a closing fence and that the language label matches the example.
- Links: Test relative paths, anchors, external destinations, and links containing special characters. Use descriptive link text.
- Images: Verify paths, dimensions, alt text, and whether the image adds information that should also be available as text.
- Lists: Keep indentation consistent. Nested lists can render differently when spaces or markers are mixed.
- Tables: Check alignment, long cells, empty values, and mobile readability. Do not assume every table works well on a narrow screen.
- Escaping: Review characters such as asterisks, underscores, brackets, and backticks when they are intended as literal text.
- Security and privacy: Remove tokens, private URLs, internal hostnames, and unredacted logs before committing documentation.
- Accessibility: Make link text meaningful, provide alt text, avoid conveying meaning through color alone, and preserve a sensible reading order.
For broader documentation quality, pair this review with a repeatable accessibility check. The web accessibility testing workflow covers keyboard, focus, form, and screen-reader basics that are also useful when reviewing documentation interfaces.
Common mistakes
Using platform-specific syntax without labeling it
Custom alerts, embedded media, task-list behavior, and raw HTML may work in one location and appear as plain text elsewhere. If a feature is required, identify the intended renderer or provide a portable fallback.
Putting spaces inside link or image syntax
These forms are easy to confuse:
Correct: [Project documentation](https://example.com/docs)
Incorrect: [ Project documentation ] ( https://example.com/docs )
When a URL contains parentheses or spaces, use an encoded URL or a reference-style link and preview the result.
Leaving code fences open
One missing closing fence can cause everything that follows to render as code. When a document looks unexpectedly monospaced, inspect the nearest preceding fence before changing unrelated formatting.
Overloading tables
Tables are useful for short comparisons, not for entire procedures. Move detailed explanations into sections below the table so readers can scan the summary and then follow the relevant instructions.
Writing for the source instead of the rendered page
Markdown source can look tidy while the rendered page has awkward line breaks, oversized images, broken anchors, or paragraphs that lack context. Review the final presentation at different window widths when the platform allows it.
Mixing documentation changes with unrelated code changes
Small, focused documentation commits are easier to review and revert. If a formatting change touches many lines, explain why and check that it did not alter commands, links, or examples accidentally. For a broader debugging process, see the frontend debugging checklist.
When to revisit
Markdown documentation should be reviewed whenever its inputs or publishing workflow change. Revisit a README or template:
- Before a release, onboarding cycle, or seasonal planning cycle.
- After changing installation commands, runtime versions, configuration names, or API behavior.
- When moving documentation between GitHub, GitLab, a documentation generator, or an internal editor.
- After adopting a new Markdown previewer, theme, syntax extension, or image storage workflow.
- When readers report broken links, confusing setup steps, inaccessible content, or examples that no longer run.
- When issue templates or support workflows change.
A practical final pass is simple: render the document, follow its instructions from a clean environment, click every important link, inspect images, and read the page without relying on visual styling alone. Keep a small checklist in the repository or documentation workflow so the review happens consistently rather than only after a formatting problem reaches users.
For related developer documentation workflows, you can also review the JSON formatting and validation guide when embedding API payloads, or the OpenAPI contract testing guide when documenting request and response examples.