I want to use ckeditor on my site, but I must have an syntax highlighter in it.
Well, I have found this one: http://ckeditor.com/addon/syntaxhighlight
But it makes 'the whole editor' in one language (highlight) only... so if I put it to php, all is PHP.
But for my website I want to choose between PHP/ASP/RubyOnRails/.NET/etc. So in one 'post' you can have php, C# and ASP together.
Is there a way to fix that?
If not, is there a way to do the same thing, but then integrate that instead of changing it in the editor, that it places [syntax=php][/syntax] around it and [syntax=asp][/syntax] or something like that.
Wed, 08/14/2013 - 10:49
#1
