magicpen
magicpen copied to clipboard
Styled output in both consoles and browsers
Right now we have a fallback that make theme not containing a `styles` property to be tweeted differently. We want to get rid of that, but it would break backwards...
When calling `append`, `block`, `amend` and `prependLinesWith` with a function the function will be executed at serialization time and know the context it is inserted into.
This idea is under construction! I was thinking about an idea where you could insert splitters into your output and magicpen would insert newlines until the line was under the...
This code is not very well tested right now.
When running unexpected-express in vitest, magicpen doesn't seem to resolve the console as one that has color allowed. Current output in vitest: with env `FORCE_COLOR=true`: The forced color output shows...