Kong / Kong/insomnia

Be able to change the code highlight from editor

Open
#8,227 0 comments 0 reactions 0 assignees View on GitHub
C-improvement
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Discussed in https://github.com/Kong/insomnia/discussions/8226

Originally posted by **oguzhanaksoy** December 3, 2024
The server is accepting `content-type: text/plain` but some endpoints are json body as text
![image](https://github.com/user-attachments/assets/39bcba19-35dc-4252-9ac1-7e75a687500c)

On body tab if I choose JSON format, it doesn't highlight nor button for beautify
![image](https://github.com/user-attachments/assets/f9927f75-343b-44e6-813b-d8195d6ab5ce)

Contributor guide

Open the contributing guide

Research direction

Start with the body editor described in the issue and read discussion #8226 for the original context and screenshots. Determine where the editor's syntax highlighting and beautify controls are selected, then verify that a text/plain body can use JSON highlighting and beautification when chosen by the user.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.