Jump to content

[Suggestion] Different code syntax in code tag


Kav

Recommended Posts

Hi,

I have a suggestion. The code tag currently uses an arbitrary color scheme for code pasted in it. Would it be possible to use GeSHi or some other PHP library to add color syntax support for multiple programming languages? Then you could use

 for example. This might be useful for the more technical-oriented IPB forums out there.
Link to comment
Share on other sites

We use prettify for syntax highlighting

http://code.google.com/p/google-code-prettify/

I'm not sure there would be any benefit from switching to a PHP library for syntax highlighting. If you are just looking to support more code syntaxes, there is a capability to do that already. You can download them at the URL I linked and upload them to your site at publicjs3rd_partyprettify

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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