Greasy Fork镜像 is available in English.

GitHub Code Colors

A userscript that adds a color swatch next to the code color definition

Tính đến 21-02-2021. Xem phiên bản mới nhất.

Tác giả
Mottie
Đánh giá
0 0 0
Phiên bản
2.0.5
Đã tạo
20-03-2016
Đã cập nhật
21-02-2021
Kích thước
9 KB
Giấy phép
MIT
Áp dụng cho

A userscript that adds a color swatch next to the code color definition

  • It works in comment previews and code pages.
  • Supports hex, rgb, rgba, hsl, hsla and all named colors.
  • Additional support for colors set inside strings (e.g. javascript or canvas).
  • It does not interfere if you copy & paste the code.
  • In v2+:
    • You can use Tab to navigate between swatches.
    • Pressing Space and Enter will toggle the popup (when focused).
    • Pressing Esc will close all popups.

github-code-color

Hosted with ♥ at GitHub

长期地址
遇到问题?请前往 GitHub 提 Issues。