You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for raising the issue and putting all the references here, really appreciate that. In fact, this should be straightforward. See my branch highlight-print-vertical for a primer. Using prettycode::highlight() seems to be a good solution. Have not tested the others. The dependency would probably be added under Suggests.
It would be nice to see syntax highlighting when I print out styled code in the console and in
knitr
/ R Markdown reports:Motivating use case: ropensci/drake#489. Packages that may help:
fansi
prettycode
crayon
highlight
highr
colorout
The text was updated successfully, but these errors were encountered: