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.

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.0 tar.gz (11.25 KB) | zip (17.53 KB) 2011-Jan-07 Notes
6.x-1.0 tar.gz (9.97 KB) | zip (13.81 KB) 2008-Mar-06 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (11.93 KB) | zip (14.81 KB) 2012-Dec-23 Notes
6.x-1.x-dev tar.gz (9.62 KB) | zip (10.63 KB) 2012-Nov-13 Notes

Project Information


Maintainers for Code Filter

  • cam8001 - 12 commits
    last: 21 weeks ago, first: 26 weeks ago
  • JohnAlbin - 42 commits
    last: 30 weeks ago, first: 5 years ago
  • dww - 1 commit
    last: 5 years ago, first: 5 years ago

Issues for Code Filter

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here