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

Enable formatter to colorize based on tokens provided in format #15

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

aldenw
Copy link

@aldenw aldenw commented Jul 16, 2020

This would preserve the current default behaviour of colorizing the entire line,
but add the option to colorize some portion of line using %color_begin% and %color_end%
tokens in the $format.

Relates to this issue #6

## Custom Formatting
You may with to colorize only a portion of the output. For example

[add image here]
Copy link
Author

Choose a reason for hiding this comment

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

I thought you might want to match the color scheme of the other screen shots, so I didn't include an image here. But in the test I included the code for generating, commented out.

@aldenw aldenw force-pushed the master branch 5 times, most recently from 85d613c to bd2c65d Compare December 15, 2020 19:45
@aldenw aldenw force-pushed the master branch 2 times, most recently from 47ab1ba to efe5910 Compare December 15, 2020 19:58
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.

None yet

1 participant