Images
Embed images in your documentation using markdown syntax.
Images enhance your documentation by providing visual context, diagrams, screenshots, and illustrations. Mordoc supports standard markdown image syntax.
Syntax
Embed images using markdown notation:
Markdown
Alt Text:
Alt text describes the image and is important for accessibility and clarity.
- Shown if the image cannot be loaded.
- Read by screen readers for accessibility.
- Used by search engines to understand the image.
Example
| Syntax | Result |
|---|---|
Markdown | ![]() |
Image paths
Images should be stored in the public/ directory and referenced using absolute paths, as shown in the example above.
public/
├── images/
├── artwork.png
├── flux-sail.jpg
└── diagram.svgNext steps
- Lists - Create ordered and unordered lists
- Tables - Display structured data
- Code Blocks - Add syntax-highlighted code


