Skip to content

docs: add color and glyph legend under README Preview - #284

Open
Solaris-star wants to merge 1 commit into
sharkdp:masterfrom
Solaris-star:docs/readme-color-glyph-legend
Open

docs: add color and glyph legend under README Preview#284
Solaris-star wants to merge 1 commit into
sharkdp:masterfrom
Solaris-star:docs/readme-color-glyph-legend

Conversation

@Solaris-star

Copy link
Copy Markdown

Summary

The Preview screenshots show colored bytes and glyphs, but the README did not map those colors/icons to byte categories.

Add a short legend under Preview documenting the default category → color → glyph mapping (aligned with print_color_table / default character table), and mention hexyl --print-color-table for a live reference.

Closes #240.

Testing

  • README markdown reviewed locally
  • Mapping cross-checked against src/main.rs (print_color_table) and src/lib.rs (as_char for the default character table)

Document the default category → color/glyph mapping so the
preview screenshots are easier to read. Point readers at
--print-color-table for a live reference.

Closes sharkdp#240.

Signed-off-by: Solaris-star <820622658@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Legend of colors of the examples in the README.md

1 participant