Skip to content

Support markdown image references with alt text in image command#16

Merged
simonw merged 2 commits intomainfrom
claude/markdown-image-alt-text-KYf6v
Feb 14, 2026
Merged

Support markdown image references with alt text in image command#16
simonw merged 2 commits intomainfrom
claude/markdown-image-alt-text-KYf6v

Conversation

@simonw
Copy link
Owner

@simonw simonw commented Feb 14, 2026

The image command now accepts either a plain file path or a markdown
image reference like ![alt text](path). When a markdown reference is
detected (starts with ![ and ends with )) the alt text and path are
extracted. The image is copied with a generated filename and the alt
text is preserved in the output. Plain paths continue to derive alt
text from the generated filename.

https://claude.ai/code/session_01TKxtWqAnWzSwgPdY23Zgx6

The image command now accepts either a plain file path or a markdown
image reference like ![alt text](path). When a markdown reference is
detected (starts with ![ and ends with )) the alt text and path are
extracted. The image is copied with a generated filename and the alt
text is preserved in the output. Plain paths continue to derive alt
text from the generated filename.

https://claude.ai/code/session_01TKxtWqAnWzSwgPdY23Zgx6
@simonw simonw merged commit fa2c501 into main Feb 14, 2026
2 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.

2 participants