github-linguist/linguist

Add `gitcommit` and `gitrebase` language?

Open

#5,598 建立於 2021年10月15日

在 GitHub 查看
 (5 留言) (3 反應) (0 負責人)Ruby (5,166 fork)batch import
Add LanguageGood First Issue

倉庫指標

Star
 (13,466 star)
PR 合併指標
 (平均合併 102天 5小時) (30 天內合併 19 個 PR)

描述

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

Most popular extensions

Likely N/A, but the filenames are

  • COMMIT_EDITMSG
  • git-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?

貢獻者指南