Add `gitcommit` and `gitrebase` language?
#5.598 geöffnet am 15. Okt. 2021
Repository-Metriken
- Stars
- (13.466 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 102T 5h) (19 gemergte PRs in 30 T)
Beschreibung
Language name
- Git Commit
- Git Rebase
URL of example repository
I think this is N/A, since a normal repository wouldn't commit any files that are in the .git directory.
URL of syntax highlighting grammar
- https://github.com/textmate/git.tmbundle/blob/master/Syntaxes/Git%20Commit%20Message.tmLanguage
- https://github.com/textmate/git.tmbundle/blob/master/Syntaxes/Git%20Rebase%20Message.tmLanguage
Most popular extensions
Likely N/A, but the filenames are
COMMIT_EDITMSGgit-rebase-todo
Detected language
None/Plain text
While the files themselves are unlikely to be present in a repository (there are a lot of results for COMMIT_EDITMSG, though), GitHub also uses linguist to highlight code blocks in Markdown, per my understanding.
Considering that these are common git use cases, I believe that the option to highlight their syntax in Markdown should be available. I think that GitHub should support syntax highlighting for git filetypes :laughing:
If it is reasonable to support syntax highlighting for these types of files, could you please consider it?