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 ) : eg
class Program
{
static void Main(string[] args)
{
}
}
Thanks in advance.
选中此项(支持41种语言) http://softwaremaniacs.org/soft/highlight/zh/
Have you looked at this?
I've used this: http://codemirror.net/ . It's an editor with syntax coloring, but can be used also just for highlighting.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.