OPS Image & Video
Triple-colon :::image::: and :::video::: self-closing blocks.
OPS Image & Video#
The OPS image and video directives are richer than plain markdown’s ![]() and <video>. They accept named attributes and render to figures with optional captions, borders, and lightbox links.
Basic image#
Image with border#
Image with lightbox (click to open original)#
Video — YouTube embed#
Video — direct media file#
The renderer picks <video controls> for .mp4 / .webm / .ogg URLs and <iframe> for everything else. With a direct file URL it looks like this:
Mixed with prose#
Paragraphs around images flow normally. The figure has its own block margin so it doesn’t crowd the surrounding text:
That image lives between two paragraphs and shouldn’t break the rhythm of the page.