Show Method for Style Objects
Display a small sample diff with the Style object styles applied. For ANSI light and dark styles, will also temporarily set the background and foreground colors to ensure they are compatible with the style, even though this is not done in normal output (i.e. if you intend on using a “light” style, you should set your terminal background color to be light or expect sub-optimal rendering).
1 2 3 4 5
show(StyleAnsi256LightYb()) # assumes ANSI colors supported
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.