Mintlify supports files up to 5 MB. For larger files, use services like Cloudinary.

Images

Markdown Syntax

![title](/path/image.jpg)

HTML Embed

<img height="200" src="/path/image.jpg" />

Key Features

  • Disable zoom: Add noZoom property
  • Link images: Wrap in <a> tags
  • Dark mode support:
<img className="block dark:hidden" src="/path/image-light.jpg" />
<img className="hidden dark:block" src="/path/image-dark.jpg" />

Videos

YouTube Embed

<iframe
  className="w-full aspect-video"
  src="https://www.youtube.com/embed/YOUR_VIDEO_ID"
  allowFullScreen
></iframe>

Custom Video

<video
  controls
  className="w-full aspect-video"
  src="your-video-url"
></video>

Add alt and title attributes to images for better SEO and accessibility.

Was this page helpful?