How can I best display code examples on my site drupal?

Submitted by erick on Tue, 08/09/2016 - 00:49

Best display code examples on my site drupal.

Code Filter

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;

 

https://www.drupal.org/project/codefilter

 

Tags