Feature Request: Inline video support (iframe + file upload)
A great idea
Hi, it would be really useful if Markdown could handle video directly, so the video plays inline on the rendered page instead of sending users off to another tab.
I know it’s possible to customize the renderer to handle video embeds, but I think this is a common need, not just mine. Having it as a built-in feature would save everyone from re-implementing the same thing over and over.
- Iframe embeds (YouTube, Vimeo, etc.)
- Support common providers with safe inline playback.
- Syntax example:
:::video
https://www.youtube.com/embed/xxxx
:::
- Local video file support (.mp4, .webm, etc.)
- Similar to how images are handled, but renders a
- Syntax example:

Why this matters:
- Inline playback keeps users engaged on the same page.
- Matches modern content expectations (like images and gifs, but with actual video).
- Reduces custom boilerplate since many projects reinvent this anyway.
Thank you !
This is a really useful idea. Native video support in Markdown would make content much more engaging and reduce boilerplate for everyone.
Regarding video sharing links similar to YouTube, from a usability perspective, directly embedding code is more convenient than defining additional syntax. If a unified syntax is adopted, it would be difficult to define the attributes desired by users.
However, for video file links such as /xxx.mp4, I will consider a suitable solution to play them directly. And this might take a considerable amount of time.