Skip to content

Highlight words in print function #97

@tusharojha

Description

@tusharojha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions