Skip to content

Markdown: add support for width/height attributes to video

What does this MR do and why?

Add support for the image attributes, width and height, added in Markdown attribute syntax for images (!104904 - merged)

![sample video](https://docs.gitlab.com/ee/user/img/markdown_video.mp4){width=100}

How to set up and validate locally

Add the above markdown to a comment box, and when previewing/saving you should see the video 100px wide.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #17139 (closed)

Edited by Brett Walker

Merge request reports