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

FR: Add subtle style inline markup #656

Open
olivroy opened this issue Dec 1, 2023 · 0 comments
Open

FR: Add subtle style inline markup #656

olivroy opened this issue Dec 1, 2023 · 0 comments
Labels
feature a feature request or enhancement

Comments

@olivroy
Copy link
Contributor

olivroy commented Dec 1, 2023

I think it would be useful. as an antonym to .emph

pillar::style_subtle() as an inspiration?

I did a bit of investigation and rlang use silver() for printing see last trace. and usethis uses silver by default for their code output.
https://github.com/r-lib/rlang/pull/1400/files

cli::cli_text("{.subtle code}")
pillar::style_subtle("code")
 "\033[38;5;246mcode\033[39m"
@gaborcsardi gaborcsardi added the feature a feature request or enhancement label Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants