Media Embedding Guide
This guide covers how to embed images, YouTube videos, and other media content in EGOS documentation.
Images
Basic Image Syntax
Use standard Markdown image syntax:

The alt text serves two purposes:
- Accessibility for screen readers
- Displayed as a caption below the image
Live Example
Here's an actual image from the EGOS dashboard (click to open in lightbox):
EGOS Dashboard - Game Management Interface
The syntax used above:

Multiple Images (Gallery)
When a page has multiple images, they form a gallery. Use arrow keys to navigate between them in the lightbox:
Flow Editor - Visual Logic Programming
Component Configuration
Device Management
Lightbox Features
All images automatically support a lightbox viewer:
- Click any image to open it in fullscreen
- Keyboard shortcuts in lightbox:
Esc- Close lightbox+/-- Zoom in/outR- Rotate image0- Reset zoom and rotation←/→- Navigate between images
- Toolbar actions:
- Zoom controls with percentage display
- Rotate button
- Download button
- Close button
Hover over any image to see a zoom icon. Try clicking the images above to test the lightbox!
YouTube Videos
Video Syntax
Embed YouTube videos using the image syntax with a youtube: prefix:

Live Example
Here's an embedded YouTube video:
Claude Code Introduction
The syntax used:

You can also use the short syntax with just the video ID:

Alternative URL Formats
You can also use full YouTube URLs:



Finding the Video ID
The video ID is the unique identifier in YouTube URLs:
https://www.youtube.com/watch?v=aqz-KE-bpKQ ^^^^^^^^^^^^ This is the video ID
Videos are automatically responsive and maintain a 16
aspect ratio. They include all standard YouTube player controls.Admonitions (Callouts)
Use special callout blocks to highlight important information.
Note
> [!NOTE]
> This is important information the reader should be aware of.
This is important information the reader should be aware of.
Tip
> [!TIP]
> Here's a helpful suggestion to improve your workflow!
Here's a helpful suggestion to improve your workflow!
Warning
> [!WARNING]
> Be careful! This action may have unintended consequences.
Be careful! This action may have unintended consequences.
Danger
> [!DANGER]
> Critical warning! This could cause data loss or system damage.
Critical warning! This could cause data loss or system damage.
Code Blocks
Syntax Highlighting
Use fenced code blocks with a language identifier:
```javascript
function hello() {
console.log('Hello, EGOS!');
}
```
Renders as:
function hello() {
console.log('Hello, EGOS!');
}
Supported Languages
Common languages: javascript, typescript, python, bash, json, yaml, css, html, sql, and many more.
Copy Button
All code blocks include a copy button (appears on hover) for easy copying.
Tables
| Feature | Description | Status | |---------|-------------|--------| | Images | Lightbox support | Available | | Videos | YouTube embedding | Available |
Renders as:
| Feature | Description | Status |
|---|---|---|
| Images | Full lightbox support | Available |
| Videos | YouTube embedding | Available |
| Code | Syntax highlighting | Available |
Quick Reference
| Media Type | Syntax | Example |
|---|---|---|
| Image |  |  |
| YouTube |  |  |
| Note | :::note ... ::: | Blue info box |
| Tip | :::tip ... ::: | Green suggestion |
| Warning | :::warning ... ::: | Yellow caution |
| Danger | :::danger ... ::: | Red alert |
Happy documenting!