Yi-luo-hua8k downloadsArrange images and videos side by side, then drag to reorder and resize them. Notes keep plain embeds plus an HTML comment, so they stay readable without the plugin.
An Obsidian plugin for arranging and resizing media and text in layout blocks, stored as standard Markdown wrapped in HTML comments (<!-- vml ... -->).
Latest release: 1.1.0 · Changelog · Feature examples · FAQ · Docs

In Obsidian, run Feature examples from the command palette for an interactive offline preview and sample notes.
<iframe>, YouTube, Twitter/X) up to 4 items per row with automatic row height equalization.---) ends wrapping below.[[ link suggestions, and your formatting hotkeys. Drag the outer frame independently of the media column width.+++ on its own unindented line (or run Insert column break) for up to 4 manual equal-width columns.{#fig:name} or {#tbl:name}, add \label{eq:name} in display math, and reference @fig:name, @tbl:name, or @eq:name for automatic English/Chinese numbering and click-to-scroll navigation (pandoc-crossref syntax).scope:"callout-image"). Right-click a top-level Markdown table (Obsidian 1.6.0+) to wrap it in a text layout while keeping native row/column/sort actions.![[...]], ), Mermaid fences, and <iframe> tags stay untouched inside <!-- vml ... --> comments, so links update on file rename and notes remain readable without the plugin.| Action | How |
|---|---|
| Adjust column widths | Drag the gap between two items; double-click to reset to aspect ratios |
| Adjust row height / web height | Drag the row's bottom edge, or a web embed's own bottom edge (double-click web handle or use menu to reset) |
| Resize the whole block | Drag the outer frame edges or corner (in media+text blocks, outer handles resize the block, media-column handles adjust its share) |
| Position a single-item row | Drag the item horizontally within its row |
| Position a narrow layout horizontally | Drag the top grip sideways |
| Move a layout through the note | Drag the top grip up or down (drop in the left/right third of text to wrap from that line) |
| Reorder / move items | Drag items within a row, between rows to split, or into another layout (use corner/top handles on videos, Mermaid, Excalidraw, and web embeds) |
| Text wrap / text columns / captions | Right-click an item or the frame for wrap, left/right text columns, vertical alignment, item/layout captions, or Move out of layout |
| Edit source / cancel / undo | Move cursor into the block or click Edit source; press Esc to cancel a drag; every action supports one-step undo |
Wrap selection in a layout, Merge with the next layout, Insert column break, Remove the layout comments here, Remove layout comments from all notes…, Feature examples, and View release notes.Layouts wrap standard Markdown in HTML comments:
<!-- vml {"v":2,"rows":[{"height":240,"widths":[1,1.4]}]} -->
![[beach.png]] 
![[clip.mp4]]
<!-- /vml -->
Text wrap sits directly above the wrapped paragraph (wrap: "left" | "right", optional skip lines):
<!-- vml {"v":2,"width":0.4,"wrap":"left"} -->
![[portrait.png]]
<!-- /vml -->
This paragraph wraps around the image and returns to full width below it.
Text beside media puts text before media on the left and after media on the right:
<!-- vml {"v":2,"width":0.4} -->
Left column text, lists, quotes, or math.
![[beach.png]]
Right column text.
<!-- /vml -->
Mermaid & web embeds (v:3) keep full fences/<iframe> tags and optional per-item heights; Callout images use quote-prefixed <!-- vml {"v":2,"scope":"callout-image","rows":[{"width":0.5}]} -->.
To strip all editable top-level layout comments from Markdown files, run Remove layout comments from all notes… (Canvas cards, Callout image settings, and unreadable blocks are left untouched).
Requires Obsidian 1.5.0+ (1.6.0+ for table menu). Supports desktop, Android, iPhone, and iPad (isDesktopOnly: false; see project status and mobile record for tested coverage).
main.js, manifest.json, and styles.css from the latest release into <vault>/.obsidian/plugins/adjustable-media/ and enable the plugin."type":"text" for text blocks that embed media anywhere; media+text layouts do not float/wrap surrounding text.