Hello,
Can you recommend a drupal module that provides a syntax highlighting input filter? Good coverage of less known programming languages would be nice.
Hello,
Can you recommend a drupal module that provides a syntax highlighting input filter? Good coverage of less known programming languages would be nice.
GeSHi is pretty much the gold standard in PHP, and there's a Drupal module for it.
Drupal.org uses code filter. It is very simple to set up and has no external dependencies (like GeSHI does).
If you only need to highlight PHP code, I'd recommend code filter, since GeSHI takes a lot of time to set up and maintain.
On the homepage of GeSHi filter module they have done a service for you by listing related modules:
I chose syntax highlighter, because it performs formatting on the client side. In addition, it supports wide array of syntaxes: ActionScript3, Bash/shell, C#, C++, CSS, Delphi, Diff, Groovy, JavaScript, Java, JavaFX, Perl, PHP, Plain Text, PowerShell, Python, Ruby, Scala, SQL, Visual Basic, XML