r-lib / cli

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

Will `cli_code()` support highlighting other languages? #695

Open olivroy opened 1 month ago

olivroy commented 1 month ago

I am thinking yaml, qmd, patch, csv would be great to highlight!

Can the function be easily extended?

gaborcsardi commented 2 weeks ago

Not easily, we'd need a good, small parser for other languages.