Skip to content

Commit 6bf1807

Browse files
Localghost385o2sh
andauthored
Add support for nerd font glyphs in languages info (#1395)
Co-authored-by: Ossama Hjaji <[email protected]>
1 parent 86cb307 commit 6bf1807

File tree

6 files changed

+203
-46
lines changed

6 files changed

+203
-46
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ CSharp: # required, this will be the name of the enum variant for the language a
4848
- "#803788"
4949
- "#FFFFFF"
5050
chip: "#178600" # required, this is used for the language breakdown bar, its value can be found in linguist (link 2).
51+
icon: '\u{E648}' # optional, the UTF-16 code point of the nerd font icon if supported (link 3).
5152
serialization: c# # required only if the Enum name `CSharp` doesn't match the display name `C#`
5253
```
5354
@@ -60,6 +61,7 @@ CSharp: # required, this will be the name of the enum variant for the language a
6061

6162
- link 1: https://github.com/XAMPPRocky/tokei#supported-languages
6263
- link 2: https://github.com/github/linguist/blob/master/lib/linguist/languages.yml
64+
- link 3: https://www.nerdfonts.com/cheat-sheet
6365

6466
### Adding translation for README.md
6567

0 commit comments

Comments
 (0)