你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/18141-github-code-colors,源站連結 點此以跳轉

GitHub Code Colors

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



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/18141/GitHub%20Code%20Colors.user.js

安装此脚本?
作者
Mottie
日安装量
0
总安装量
444
评分
11 0 1
版本
2.0.9
创建于
2016-03-20
更新于
2024-02-17
大小
9.1 KB
许可证
MIT
适用于

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