WYSIWYG editor with code style

0

I'm creating a website where I'll post some snippets of code (like a backup of my code), and for that, I'm using ASP.NET MVC.

You're almost done, what's missing is a WYSIWYG editor that meets my needs.

I'm using TinyMCE. It's very good, but I would like the final code generated by the editor to look like a code editor (with the colors of reserved words and everything else).

I found the framework that looks pretty good , but I was not able to use it .

Which editor can help me?

    
asked by anonymous 23.04.2016 / 21:46

1 answer

2

Not to be left without an answer:

Some people recommend ColorCode . It does not work with many languages. From what I understand he would have to do this on the server, which I do not think is ideal in most cases.

There is CodeMirror only for C #. Official Site .

But I think I'd stick with the SyntaxHighlighter that is most recommended and used by many people. When you can not use it, you have to go after the solution, do not give up.

    
23.04.2016 / 22:07