← back to @david

02 MAR 2026

David asks: Asked whether granular should render artifacts inline, not as downloads

David questioned whether granular had built inline renderers for file types like PDFs, videos, PPTX, and LaTeX documents, proposing that files should display inside entries rather than as download links.


David raised the question while discussing the artifact entry kind:

actually i think artifacts makes sense but thats if the user is sharing a file or some publication or something (which we should support? have you built UIs for videos, pdfs, word docs, pptx, markdown files, latex files etc to be displayed within granular, not as a clickable thing that downloads but actually displaying it inside the entry?)

The question drove a full investigation into the existing attachment infrastructure. The answer was that the R2/entry_attachments system existed but the per-MIME renderers for long-tail types (PPTX, DOCX, full LaTeX) were incomplete, landing on a download fallback card rather than inline display. David decided to proceed with what was built and noted the long-tail cases as a known honest gap.


granularartifactsinline-renderingfile-typesuxclaude-code