Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.34 KB

embed.mdx

File metadata and controls

58 lines (40 loc) · 1.34 KB
title description
Custom Embeds
Images, videos, and any HTML elements
<iframe width="560" height="315" src="https://www.youtube.com/embed/4KzFe50RQkQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen ></iframe>

Mintlify supports HTML tags in Markdown. This is helpful if you prefer HTML tags to Markdown syntax, and lets you create documentation with infinite flexibility.

Here are some common HTML tags that are used for documentation

Embed

iFrames

Loads another HTML page within the document. Most commonly used for embedding videos.

<iframe src="https://www.youtube.com/embed/4KzFe50RQkQ"> </iframe>

To have videos autoplay, add autoplay = {true}.

Additionally, we support mp4 files up to 5 MB and you can also upload your videos to storage services like Cloudinary to reference them in your Mintlify documentation!

Images

Insert an image onto the page. Used over the standard markdown image syntax for more control over the image styling.

<img style={{height: "200px"}} src="/path/image.jpg" />

Line Breaks

Add a linebreak

<br />