Media Single

Description

MediaSingle elements wrap individual media items with layout and positioning attributes. They provide control over media alignment, width, and spacing within documents. MediaSingle is commonly used for standalone images, diagrams, and other media that need specific positioning.

.md markdown syntax

MediaSingle Fence Block

~~~mediaSingle layout=center width=80
![Image description](media:image-id)
~~~

MediaSingle with Alignment

~~~mediaSingle layout=align-start
![Left-aligned image](media:left-image)
~~~

~~~mediaSingle layout=align-end
![Right-aligned image](media:right-image)
~~~

MediaSingle with Custom Attributes

.adf-schema.json schema

Examples

Centered Images

Left-Aligned Media

Right-Aligned Media

Full-Width Banners

Wide Layout

Text Wrap Layouts

Documentation Images

Comparison Images

Technical Diagrams

Mobile-Friendly Layout

Last updated