r-lib / cli

Tools for making beautiful & useful command line interfaces
https://cli.r-lib.org/
Other
655 stars 70 forks source link

inline markup interrupts `col_()` coloring #694

Open olivroy opened 6 months ago

olivroy commented 6 months ago

I would expect "first" and "last" to be colored grey in this case.

cli::col_grey("first {.val a} last") |> cli::cli_bullets()

image

Is this a bug or maybe a limitation?

gaborcsardi commented 5 months ago

Is this a bug or maybe a limitation?

Exactly. :)