Skip to content

styles-demo is inaccurate/out of date #278

@dougharris

Description

@dougharris

Calling :styles-demo appears to simply dump the file share/styles-demo.txt. It seems to be missing some styles and doesn't accurately demonstrate some styles.

Here's a screenshot of styles-demo:
static-demo

Here's a screenshot generated with the small script at the bottom of styles demo. (In this case, I tested with git-pull and changed head to tail since the first five lines of the output were all comments)
dynamic-demo

Two things of note:

  1. the format of the comments on the rainbow_dash is different
  2. the sas style is missing from the styles-demo output

Some thoughts on resolution:

  • update shares/styles-demo.sh
  • change :styles-demo to return all styles dynamically, using a representative command output
  • change :styles-demo to be a query parameter so one could do curl cheat.sh/git-pull?styles-demo and the get dynamic output for all existing styles, like in the script

Edit: FWIW, I'm on MacOS using iTerm2 with a light background

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions