Skip to content

1.2.0 - Image layout and captions

Choose a tag to compare

@GasonW GasonW released this 13 Nov 07:13
b4feacf

Image layout and captions

  • Drag images beside each other to form a row, reorder them, or move them onto a separate line. Images share a height while preserving their aspect ratios.
  • Add and edit captions below images. Enter saves, Shift+Enter adds a line, and captions follow images when rearranged.
  • Image rows and captions work in Live Preview and Reading view. Layout and caption changes are saved with the Markdown note; Live Preview edits support undo.

Editing and spacing

  • Keep blank-line cursor movement consistent with text lines, including after clearing table cells.
  • Give code blocks clear spacing above and below surrounding text.
  • Clarify that Minimal is optional: this is a layout plugin that works with the selected theme.

Validation: 15 tests passed, build and syntax checks passed. Verified in Obsidian 1.12.7 on macOS with Minimal and the default theme, including typing and clearing table cells, three-image rows, captions, splitting and undo. Mobile has not been tested.

中文更新

  • 图片可拖拽并排、调整顺序或拆为单行,同排图片等高并保持原比例。
  • 支持图片下方图注及多行说明;图注跟随图片移动。
  • 实时预览与阅读视图均可显示图片排版、图注;实时预览中的修改可撤销。
  • 统一正文空行与有字行的光标步距,修正清空表格后的光标,并调整代码块上下间距。
  • 已验证 Minimal 与默认主题;插件不要求安装 Minimal。