我试图找到但失败了。
我认为以'+'开头的行的颜色为红色
...以及以'-'开头的行的颜色为蓝色
...就足够了。
hello.c::
+#else <<<<< want this line in red
ISR_RESULT ISRs(U32 Interrupt, U32 Vector)
+#endif <<<<< want this line in red
{
-// printf ("Get IRQs \r\n"); <<<<< want this line in blue
- switch (Interrupt) <<<<< want this line in blue
- { <<<<< want this line in blue
- case ISR_MBOX0: <<<<< want this line in blue
您可能应该使用code-block
directive并使用code-block
。您的Pygment's diff
lexer文件应该看起来像这样:
diff