Published March 11, 2026
Documentation often needs images before the feature is screenshot-ready. API docs need example response previews, README files need hero images, and tutorial pages need step-by-step screenshots. Placeholder images fill these gaps with correctly sized, labeled files that communicate intent while the real content is in progress.
GitHub renders Markdown images inline. You can reference a committed placeholder file by relative path, and it will display in the README preview on GitHub. This is useful for showing layout examples, component previews, or architecture diagrams that haven't been created yet.
The PlacePack label in each image communicates what belongs there — `screenshot:1200x800` or `diagram:800x600` — so readers understand the intent even though the real asset hasn't been added yet.
Markdown image syntax

Documentation generators like Docusaurus, VitePress, and MkDocs support Markdown image syntax and render images in the built site. Placeholder images work the same way as in a README — reference the committed file by path.
For documentation that uses MDX, you can also import the image and use it as a React component prop. This gives you more control over sizing and lazy loading.
Documentation sites typically have a content column between 700 and 900 pixels wide. Images wider than the column are scaled down, which can blur them or add unexpected padding. Generate placeholders at the exact content width to match the rendered output.
Common documentation image sizes:
- **Full-width screenshot**: 800×500 or 900×560 - **Inline diagram**: 600×400 - **Icon or badge**: 120×40 - **Code output preview**: 700×200
For documentation that generates content dynamically — like auto-generated API reference pages — you can use the PlacePack REST API to embed placeholder images by URL. The API returns a stable image for any given spec, so the same URL always produces the same placeholder.
This is a good fit for API documentation tools like Swagger UI or Redoc where you want to show example response images without committing files.
API URL in Markdown
When the real screenshots or diagrams are ready, replace the placeholder file at the same path. Because the filename already describes the content and dimensions, you know exactly which real asset to create. The Markdown references don't need to change — only the file content does.
Ready to generate placeholder images?
Open the generator with the right preset pre-loaded and download your pack in seconds.