Jump to content

Adding new code modes to CKEditor


cfish

Recommended Posts

Posted

CKEditor integration with IPB is excellent and I love the "Add Code" functionality and code syntax highlighting. However, the default code modes are HTML, CSS, PHP and JS, all very sensible choices but I need to add LISP syntax highlighting for my board.

I see that CKEditor is compatible with a number of highlighters and I'm guessing that the default on IPB is Prettify, which doesn't support LISP. But CKEditor is also cmpatible with highlight.js, which does support LISP.

So, my question is: how do I switch to highlight.js and add a LISP mode to the options on the editor?

  • 3 weeks later...
Posted

Any news on this?

Tried to edit some js files to add required modes, but they don´t change anything ... can someone give me a glue where i had to add the modes?

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...