Skip to content

feat(markdown): render local image attachments in markdown content#324

Merged
SDSLeon merged 1 commit into
masterfrom
poracode/golden-meteor-5029c0a8
Jul 15, 2026
Merged

feat(markdown): render local image attachments in markdown content#324
SDSLeon merged 1 commit into
masterfrom
poracode/golden-meteor-5029c0a8

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jul 15, 2026

Copy link
Copy Markdown
Owner
  • Extract local-image-path detection into a shared markdownLocalImages module so chat markdown rendering can resolve and display locally attached images inline instead of showing raw file paths
  • Wire ItemMarkdownInner to use the new resolver, with tests covering rendering behavior
  • Extend promptContent handling and localFiles attachment logic to support the local-image markdown flow
  • Update .gitignore and AGENTS.md for related tooling/documentation upkeep

- Add `src/shared/markdownLocalImages.ts` to resolve local image references in markdown, with accompanying tests
- Update `ItemMarkdownInner` to render local images and add corresponding test coverage
- Extend `promptContent` handling to support local image resolution
- Adjust `localFiles.ts` attachment handling to support the new flow
- Ignore generated artifacts in `.gitignore` and note the addition in `AGENTS.md`
@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightcode-landing Ready Ready Preview, Comment Jul 15, 2026 7:54pm

@SDSLeon SDSLeon merged commit a34107e into master Jul 15, 2026
10 checks passed
@SDSLeon SDSLeon deleted the poracode/golden-meteor-5029c0a8 branch July 15, 2026 19:57
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