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 badges3 Answers
Reset to default 5Check 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.