feat: support inline images within song pages (Closes #2) #13
Reference in New Issue
Block a user
Delete Branch "feature/issue-2-support-inline-images-within-songs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
{image: path/to/image.png}ChordPro directive for embedding images inline within song sectionsSongLinegains an optionalimagePathfield; when set, the line is an inline image (segments ignored)MeasurementEnginereserves 40mm + 2mm gap per inline image for layout height calculationsTest plan
gradle test)Closes #2
Add {image: path} directive to embed images at any position within a song's sections. SongLine gains an optional imagePath field; when set, the line represents an inline image rather than chord/lyric content. The renderer scales and centers images within the content width. MeasurementEngine reserves 40mm height per inline image for layout calculations. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>