Option to parse colors not prefixed by a hashtag
未關閉
enhancement
hacktober
- 主要語言
- CoffeeScript
- 星號
- 518
- 分支
- 70
- PR 合併指標
- 30 天內沒有已合併 PR
描述
In my project which is written in YAML, the hashtag that Pigments looks for to parse a color from a hex is invalid. It would be great to have an option to parse hex codes not prefixed by hashtags.
貢獻指南
研究方向
查看 Pigments 套件中的色彩解析邏輯,可能位於 lib/color-parser.coffee 或類似檔案中。了解目前如何偵測帶有 hashtag 的十六進位碼。在套件設定中加入一個選項,以啟用對不帶 hashtag 的十六進位碼進行解析,並相應地更新正規表示式或偵測邏輯。透過修改一個包含十六進位碼的 YAML 檔案並確認它們是否被反白來進行測試。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- coffeescript
- 領域
- tooling
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 40/100