FR: Add subtle style inline markup

Open
#656 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
r
Domain
cli

Research direction

Start by reviewing the existing .emph inline markup handling and the pillar::style_subtle() and rlang examples linked in the issue. Done means a .subtle inline style is supported and renders text with subdued terminal coloring consistent with the requested output.

Written by the indexing model from the issue text.

Description

feature

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"
Dominant language
R
Stars
726
Forks
94
Avg merge
3h 35m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from r-lib/cli

All issues in r-lib/cli

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.