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 · 1 comment · May be fixed by #17
Open

Add prettyfier based on content-type #13

joeribekker opened this issue Jul 24, 2023 · 1 comment · 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.

@alextreme
Copy link
Member

@danielmursa-dev could you take a look at @vaszig 's approach from last year and see if you two can complete this issue?

danielmursa-dev added a commit that referenced this issue Dec 12, 2024
danielmursa-dev added a commit that referenced this issue Dec 12, 2024
danielmursa-dev pushed a commit that referenced this issue Dec 12, 2024
[#13] Fix admin.js

[#13] Fixed admin button

[#13] Remove unnecessary views and urls

[#13] Remove message in quickstart.rst
danielmursa-dev added a commit that referenced this issue Dec 12, 2024
danielmursa-dev pushed a commit that referenced this issue Dec 12, 2024
[#13] Fix admin.js

[#13] Fixed admin button

[#13] Remove unnecessary views and urls

[#13] Remove message in quickstart.rst

[#13] Black
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.

4 participants