Skip to content

feat: add external media image support with paragraph splitting - #1

Merged
ajbeck merged 3 commits into
mainfrom
add-image-support
Jan 29, 2026
Merged

ajbeck merged 3 commits into
mainfrom
add-image-support

Conversation

@ajbeck

@ajbeck ajbeck commented Jan 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds external media image support with paragraph splitting
  • Adds PR validation workflow with conventional commit and version checks

Test plan

  • Verify image rendering works correctly
  • Verify PR workflow runs and validates commits/version

🤖 Generated with Claude Code

ajbeck and others added 2 commits January 29, 2026 09:45
Implement native image support using ADF mediaSingle and media nodes
with type "external", matching Atlassian's official behavior. When
enabled via WithExternalMedia(true), images become block-level elements
and paragraphs containing inline images are split around them.

- Add NewMediaSingle, NewExternalMedia, NewCaption node constructors
- Add WithExternalMedia and WithImageLayout configuration options
- Implement paragraph-splitting logic for inline images
- Support captions via image title attribute
- Add comprehensive tests for all image scenarios
- Document Atlassian research methodology for future validation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…hecks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jan 29, 2026

Copy link
Copy Markdown

PR Validation Results

All checks passed

CI Checks

Step Status
Format
Vet
Build
Test

Version Validation

Version validation passed

Detail Value
Commits analyzed 3
Base version 1.0.0
PR version 1.1.0
Required bump minor
Actual bump minor

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ajbeck
ajbeck merged commit 5163388 into main Jan 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant