How to view code in content
Download the module Codefilter and activate it.
Go to admin/settings/filters, and to the settings of desired filter. Check Code filter.
Create your content and select the filter you just configured.
<code>Plain text/code</code>
Plain text/code
<code>
<?php
//php colored code
function x(){
return "y";
}
?>
</code>
<?php
//php colored code
function x(){
return "y";
}
?>Maybe you have to add some style to your theme for div.codeblock
Knowledge keywords:
