html beautifier
Hello,
I'm sending http request through %Net.HttpRequest and I have html page in response. Is there any built-in tool for beautify html for printing in terminal?
Thanks.
Hello,
I'm sending http request through %Net.HttpRequest and I have html page in response. Is there any built-in tool for beautify html for printing in terminal?
Thanks.
In Caché you can't do so, without any external tools. And anyway, most of beautifiers works only in some IDEs, you can just copy output and beautify in VisualStudio Code as example.
You could dump it out to a file on the filesystem and just view it in your browser/favorite editor.
I know of no such built in tool, however here's a routine I wrote to pretty print an XML string:
Thanks, this is slightly better.