Fix for google-code-prettify w/ c#

前端 未结 4 1182
忘掉有多难
忘掉有多难 2021-02-07 09:19

Prettify gives types and methods the same class when tokenizing c# so they are colored the same. This is because methods are pascal case in c# instead of camel case like in java

4条回答
  •  遥遥无期
    2021-02-07 09:53

    I actually wrote my own syntax highlighting library to solve problems like this. It's pretty similar to prettify but you have to specify the language explicitly.

    • Website
    • Demo

提交回复
热议问题