This guide documents the markdown syntax supported for Final Boss XR blog posts. The blog uses GitHub-flavored markdown with custom extensions for media rendering (images, videos, and audio).
# Heading 1
## Heading 2
### Heading 3
#### Heading 4**Bold text**
*Italic text*
***Bold and italic***
~~Strikethrough~~Unordered List:
- Item 1
- Item 2
- Nested item
- Sub-item 1
- Sub-item 2Ordered List:
1. First item
2. Second item
3. Third item[Link text](https://example.com)
> This is a blockquote
> It can span multiple linesInline code:
Use `const x = 10;` for inline codeCode blocks: ```javascript function hello() { console.log("Hello, World!"); } ```
Basic image:
Image with caption:
Image with custom height:
Image with caption and height:
Supported image formats: .jpg, .jpeg, .png, .gif, .webp, .svg, etc.
Videos are embedded using the same markdown syntax as images. The system automatically detects video file extensions and renders an HTML5 video player with controls.
Basic video:
Video with caption:
Video with height adjustment:
Supported video formats: .mp4, .webm, .ogg, .mov, .mkv, .avi, .flv, .wmv
Video Features:
- Auto-plays when 50% of the video enters the viewport
- Pauses when scrolled out of view
- Includes playback controls (play/pause, timeline, volume)
- Muted by default (required for auto-play on most browsers)
- Responsive sizing
Audio files are embedded using the same markdown syntax as images and videos. The system automatically detects audio file extensions and renders an HTML5 audio player.
Basic audio:
Audio with caption:
Supported audio formats: .mp3, .wav, .m4a, .aac, .flac, .ogg, .wma, .opus
Audio Features:
- Full HTML5 audio controls (play/pause, timeline, volume)
- Styled with brand green accent color (
#00c400) - Responsive padding and borders
- Smooth integration with blog content
- Support for all modern browsers
Example:
# Podcast Episode: Getting Started with Web Development
This episode covers the fundamentals of modern web development.

In this episode, we discuss:
- Setting up your development environment
- Understanding HTML basics
- CSS for stylingBoth images and videos can include captions using the pipe (|) separator:
This generates:
<figure class="media-figure">
<img src="..." alt="Image alt text" />
<figcaption>Caption text appears below the media</figcaption>
</figure>Use the {height=XXXpx} syntax to customize media height:

Note: Height is optional. Width automatically adjusts to maintain aspect ratio.
-
Image Optimization: Compress images before uploading to S3
- Recommended sizes: 400-600KB for web (use WebP when possible)
- Use tools like Squoosh, TinyPNG, or ImageMagick
-
Audio Optimization: Convert uncompressed audio to compressed formats
- WAV to MP3: Reduce ~35MB to ~3-5MB using 128-192 kbps bitrate
- Use FFmpeg:
ffmpeg -i audio.wav -b:a 192k audio.mp3
-
Alt Text: Always provide descriptive alt text for accessibility

-
Video Optimization: Pre-encode videos in multiple formats if needed
- Primary: MP4 (h.264, widely supported)
- Fallback: WebM (smaller file size)
-
AWS S3 URLs: Images, videos, and audio are hosted on S3
  
-
Captions: Use meaningful captions that add context
  
# My First Blog Post
This is the introduction to my blog post.
## Section with Image
Here's an image demonstrating something important:

## Section with Video
Check out this video:

## Section with Audio
Listen to our podcast episode:

More text continues here...
## Summary
That's all for now!✅ Supported:
- Headings (h1-h4)
- Bold, italic, strikethrough
- Unordered and ordered lists
- Links
- Blockquotes
- Code blocks with syntax highlighting
- Tables
- Horizontal rules
- Custom image/video/audio with captions
❌ Not Supported:
- HTML tags (security)
- Task lists (checkboxes)
- Diagrams (use images instead)
Q: My audio/video isn't playing
- A: Check the file URL is accessible and the file extension is supported
- Ensure the file is uploaded to S3 with public read permissions
Q: Caption isn't showing
- A: Make sure you're using the pipe (
|) separator: - Captions only work for images, videos, and audio (detected by file extension)
Q: Image is too large/small
- A: Use height syntax:
 - Width adjusts automatically to maintain aspect ratio
Q: Audio player looks wrong
- A: This is browser-specific. The native HTML5 controls are used for consistency
- The green accent color applies across all browsers
Last Updated: April 22, 2026 Blog System: Final Boss XR using SvelteKit + Marked.js