8000 Review panel renders JSON and code from /attachments/ as markdown (indentation lost) · Issue #235 · simon-inkie/inkie-deck · GitHub
[go: up one dir, main page]

Skip to content

Review panel renders JSON and code from 9F68 /attachments/ as markdown (indentation lost) #235

Closed

Description

@simon-inkie

In the review panel, a file opened from an /attachments/ URL is fetched directly and always shown through the Markdown renderer, so JSON and source files lose their indentation and wrap as prose. The same file opened through the /api/review path is shown in the code view. The attachment path should pick the kind and language from the file extension, as the review path does. Found while retaking the README code-preview screenshot.

Activity

  1. simon-inkie commented on Nov 19, 2026

    @simon-inkie
    OwnerAuthor

    Landed via PR 236.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0