downlit icon indicating copy to clipboard operation
downlit copied to clipboard

Manually style ANSI colours

Open hadley opened this issue 3 years ago • 1 comments

Instead of relying on fansi — that way we could generate classes that are controlled by the theme. (Only need to support named colours + italic/bold/underline, so can probably just do with regexps)

hadley avatar Oct 25 '20 17:10 hadley

Can now use cli::ansi_html() for this.

hadley avatar Apr 27 '22 13:04 hadley