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

Highlight words in print function #97

Open
tusharojha opened this issue Dec 8, 2020 · 0 comments
Open

Highlight words in print function #97

tusharojha opened this issue Dec 8, 2020 · 0 comments

Comments

@tusharojha
Copy link

Hi @nitin42!
I really liked this package for React and just wanted to know that can we use highlight some text inside the print command?

For example:

commands={{
   npm: (args, print, runCommand) => print("npm version 0.2.5"),
}}

I want to change the color of 0.2.5 to blue and the remaining text color to white.

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

No branches or pull requests

1 participant