gitlab 提交中的红色和粗体文本是什么意思?

what does red and bold text mean in a gitlab commit?

我正在使用 Gitlab 检查我和其他人在存储库中所做的提交。如图所示,Gitlab 显示提交。它以绿色背景突出显示添加的行,以红色背景突出显示已删除的行。但是有些行显示为红色文本。这是什么意思?其他单词以粗体黑色显示。这是什么意思?

来自https://docs.gitlab.com/ee/user/project/highlighting.html

GitLab provides syntax highlighting on all files and snippets through the Rouge rubygem. It will try to guess what language to use based on the file extension, which most of the time is sufficient.

还有

If GitLab is guessing wrong, you can override its choice of language using the gitlab-language attribute in .gitattributes.

所以Gitlab可能猜错了语法。