colored_json icon indicating copy to clipboard operation
colored_json copied to clipboard

html

Open lcmgh opened this issue 1 year ago • 4 comments

Any chance to get support for html output? :)

lcmgh avatar Feb 02 '24 14:02 lcmgh

I am not sure I understand what you have in mind.

ctron avatar Feb 02 '24 15:02 ctron

I meant generating html output to display a prettified and colorful JSON tree. Similar to https://github.com/trishume/syntect/blob/master/examples/synhtml.rs

lcmgh avatar Feb 05 '24 14:02 lcmgh

Ah, so you mean something like a command line application, which shows renders some HTML for the JSON?

ctron avatar Feb 05 '24 14:02 ctron

Actually a library but it looks to me that syntect crate already fulfils that purpose.

lcmgh avatar Feb 05 '24 14:02 lcmgh