【问题标题】:Where to find the csharp loader for Googles Code Prettify在哪里可以找到 Google Code Prettify 的 csharp 加载程序
【发布时间】:2015-05-26 22:39:49
【问题描述】:

我正在尝试为我即将发布的博客设置代码荧光笔,但是... 似乎代码美化已经放弃了对 csharp(C#) 的支持,或者他们将加载程序隐藏在其他地方......有什么想法吗?

我刚刚查看了他们的 github 存储库,但找不到那里的加载器..

兄弟, 指数

【问题讨论】:

    标签: c# google-code-prettify


    【解决方案1】:

    它已经包含在内,来自他们的GitHub:

    <pre class="prettyprint lang-html">
          The lang-* class specifies the language file extensions.
          File extensions supported by default include
            "bsh", "c", "cc", "cpp", "cs", "csh", "cyc", "cv", "htm", "html",
            "java", "js", "m", "mxml", "perl", "pl", "pm", "py", "rb", "sh",
            "xhtml", "xml", "xsl".
    </pre>
    

    【讨论】:

    • 在 OP 的情况下,使用 lang-cs。
    猜你喜欢
    • 1970-01-01
    • 2014-02-01
    • 1970-01-01
    • 2011-05-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-12-25
    相关资源
    最近更新 更多