3 ms·
Quick question, which maybe someone here can answer: I noticed that GitHub supports syntax highlighting in the Zig repo. How does that work for a new language s
by gautamcgoel 5y ago
Quick question, which maybe someone here can answer: I noticed that GitHub supports syntax highlighting in the Zig repo. How does that work for a new language such as Zig? Can you somehow upload a file which tells GitHub how you'd like programs written in your language to be displayed?
- aeldidi 5y agoI believe this is the syntax highlighter’s repo: https://github.com/github/linguist/blob/master/CONTRIBUTING.md#adding-a-language https://github.com/github/linguist/blob/master/CONTRIBUTING....
- gautamcgoel 5y agoThanks, this is what I was wondering! Seems a new language needs to have 200 repos which use it before GitHub will consider adding syntax highlighting for it..
- deleted 5y ago[deleted]