最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

jquery - javascript library for Code view? - Stack Overflow

programmeradmin1浏览0评论

I have a site which i need to let users add some code.

this code can be c#, jS ,jQuery, Sql.

Im having a problem of finding a professional library for code view ( like in stackoverflow ) : e.g.

class Program
{
    static void Main(string[] args)
    {

    }
}

Thanks in advance.

I have a site which i need to let users add some code.

this code can be c#, jS ,jQuery, Sql.

Im having a problem of finding a professional library for code view ( like in stackoverflow ) : e.g.

class Program
{
    static void Main(string[] args)
    {

    }
}

Thanks in advance.

Share Improve this question asked Nov 14, 2011 at 7:54 Royi NamirRoyi Namir 149k144 gold badges494 silver badges831 bronze badges
Add a ment  | 

3 Answers 3

Reset to default 5

Check this (support 41 languages) http://softwaremaniacs/soft/highlight/en/

Have you looked at this?

http://alexgorbatchev./SyntaxHighlighter/

I've used this: http://codemirror/. It's an editor with syntax coloring, but can be used also just for highlighting.

发布评论

评论列表(0)

  1. 暂无评论