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

feat(console): Support CSS styling with "%c" #7357

Merged

Conversation

nayeemrmn
Copy link
Collaborator

Closes #2778.

@bartlomieju bartlomieju added this to the 1.4.0 milestone Sep 5, 2020
Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are going to embed a css parser we should have some more tests. Currently it seems only color is tested (but not really because the test is ansi stripped).

Also I think we should expose parseCss for testing and add some unit testing for it. There are a lot of untested branches in parseCss otherwise.

Anyway, this will be a great feature to have :-)

@nayeemrmn nayeemrmn force-pushed the console-style-format-specifier branch from 0e80343 to a9fd5b1 Compare September 9, 2020 22:34
@nayeemrmn nayeemrmn marked this pull request as draft September 10, 2020 00:45
@nayeemrmn nayeemrmn marked this pull request as ready for review September 10, 2020 02:14
@nayeemrmn
Copy link
Collaborator Author

Ready for review.

Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks!

@lucacasonato lucacasonato merged commit 6f70e6e into denoland:master Sep 10, 2020
@nayeemrmn nayeemrmn deleted the console-style-format-specifier branch September 10, 2020 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Console output styling with %c
3 participants