Skip to content

Commit

Permalink
Add support for nerd font glyphs in languages info (#1395)
Browse files Browse the repository at this point in the history
Co-authored-by: Ossama Hjaji <[email protected]>
  • Loading branch information
Localghost385 and o2sh committed Aug 31, 2024
1 parent 86cb307 commit 6bf1807
Show file tree
Hide file tree
Showing 6 changed files with 203 additions and 46 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ CSharp: # required, this will be the name of the enum variant for the language a
- "#803788"
- "#FFFFFF"
chip: "#178600" # required, this is used for the language breakdown bar, its value can be found in linguist (link 2).
icon: '\u{E648}' # optional, the UTF-16 code point of the nerd font icon if supported (link 3).
serialization: c# # required only if the Enum name `CSharp` doesn't match the display name `C#`
```
Expand All @@ -60,6 +61,7 @@ CSharp: # required, this will be the name of the enum variant for the language a

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

### Adding translation for README.md

Expand Down
Loading

0 comments on commit 6bf1807

Please sign in to comment.