我想将语法突出显示应用于 git bash 代码,如下所示:
我正在使用以下代码:
```gitㅤ
diff --git a/fourth.py b/fourth.py
index 13cc618..4c8cfb6 100644
--- a/fourth.py
+++ b/fourth.py
@@ -1,5 +1,5 @@
print('hello')
+print('git')
-print(1)
-
-print('bye')
\ No newline at end of file
+print('bye')
+print('20000')
\ No newline at end of file
```ㅤ
不适用于使用 github、Github、vim、diff、bash 等关键字,而不是git
.
我怎样才能做到这一点?
示例:如果是 python,而不是 git:
print('hello world!')
此方法不适用于 git 代码。