Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prettyfier based on content-type #13

Open
joeribekker opened this issue Jul 24, 2023 · 0 comments · May be fixed by #17
Open

Add prettyfier based on content-type #13

joeribekker opened this issue Jul 24, 2023 · 0 comments · May be fixed by #17
Assignees
Labels
enhancement New feature or request

Comments

@joeribekker
Copy link
Member

Add a link above the readonly field called "prettify" and perform a JSON or XML prettify in Javascript.

See: https://jsfiddle.net/klesun/sgeryvyu/369/ for XML
and see: https://reqbin.com/code/javascript/ounkkzpp/javascript-pretty-print-json-example for JSON

If no known content-type header is present, leave out this option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants