
Images
Add images to provide visual context, examples, or decoration to your documentation.Basic image syntax
Use Markdown syntax to add images to your documentation:HTML image embeds
For more control over image display, use HTML<img> tags:
Resize images with inline styles
Use JSX inline styles with thestyle attribute to resize images:
Disable zoom functionality
To disable the default zoom on click for images, add thenoZoom property:
Link images
To make an image a clickable link, wrap the image in an anchor tag and add thenoZoom property:
Images within anchor tags automatically display a pointer cursor to indicate they are clickable.
Light and dark mode images
To display different images for light and dark themes, use Tailwind CSS classes:Videos
Mintlify supports HTML tags in Markdown, giving you flexibility to create rich content.YouTube embeds
Embed YouTube videos using iframe elements:Self-hosted videos
Use the HTML<video> element for self-hosted video content:
Autoplay videos
To autoplay a video, use:When using JSX syntax, write double-word attributes in camelCase:
autoPlay, playsInline, allowFullScreen.iframes
Embed external content using iframe elements:Related resources
Frame component reference
Learn how to use the Frame component for presenting images.