Closed SeinopSys closed 7 years ago
The output is whitespace-formatted and uses no HTML/CSS/JS.
That's probably not the most accurate statement in the readme. There is a pure whitespace mode but it's not the same as plain mode which is being described there.
You can use the ~ modifier or set the mode to whitespace:
~d($x); // Pure whitespace mode
~s($x); // Ditto
Kint::enabled(Kint::MODE_WHITESPACE);
d($x); // Ditto
s($x); // Ditto
Thank you! Although, that character should be added to the "Available modifiers" list - I would not have found it if it wasn't for your reply.
In the "Advanced usage" section of the "Installation & usage" guide, there's this sentence:
This is definitely not the case. When I call
sd($data)
I get an output like this:The additional CSS and HTML makes the dump output look strange when it's displayed raw inside a container with a limited size (e.g. a console window or a small HTML element), for example:
I'd like to ask for a setting/parameter that would produce the same output but without any added HTML/CSS.