This module provides a simple text format (input filter) that handles <?php ?> and <code></code> tags so that users can post code without having to worry about manually escaping < and > characters with &lt; and &gt;

For PHP code, this module also adds syntax highlighting. For example:

<?php
print "Hello, world!";
?>

This module is used on drupal.org.

This module has a handbook page; you can refer to it for more detailed documentation.

#D7AX/#DAX - I pledge to make this module as accessible as it can be. If you find any flaws, please submit an issue. Help me fix them if you can.

Project Information

Downloads