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

Color % symbol in template #524

Closed
wants to merge 1 commit into from

Conversation

eatradish
Copy link

@eatradish eatradish commented Mar 15, 2023

Add percent% to convenience set % symbol color

Before:

{percent:>3.blue}" + &style("%").blue().to_string()

After:

 {percent%:>3.blue}"

@eatradish eatradish changed the title Add percent% to convenience set % symbol color Color % symbol in template Mar 15, 2023
@djc
Copy link
Collaborator

djc commented Mar 16, 2023

I don't think I want to add this to the code base, since I don't think it's an important concern whether the % appears colored or not.

@eatradish eatradish closed this Mar 17, 2023
@eatradish eatradish deleted the style-add-percent-% branch March 17, 2023 05:28
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

2 participants