Skip to content

FR: Add subtle style inline markup #656

@olivroy

Description

@olivroy

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions