Modul: | FrontEnd CodeHighlighting (incl. x_find_class 0.1.6) |
Author: | Dietrich Roland Pehlke |
Nick: | aldus |
Version: | 0.1.7.4 |
State: | Alpha |
License: | GNU - General Public License |
Platform: | 2.7 |
Last info: | 2009-07-20 |
Rating: | |
Download: | here |
Forum: | here |
Description: | Based on an idea from Stefek for a simple modul for
including the google-code-prettyfy (http://code.google.com/p/google-code-prettify/) this modul came up with a simple and easy way to do it. Once you have installed the modul you only have to place this snipp of code inside your template:
If you have to display code (php, js, c/++) on your page you only have to take care about to place it inside at < pre class="prettyprint"> ... < /pre>" tag. |
Info: | Known issures:
- If you have already installed the "x_find_class"-modul you will have to deinstalled it before installing this one to avoid any conflicts. If you have already a page that makes use of the "find_my_class" function it will not hurt anything; you can just keep it as it is. |
See also: | x_find_class |
A very simple example
/** * You may use the following variable for debugging by setting it to true. */ $debug = false; if (true == $debug ) { ini_set('display_errors', 1); error_reporting(E_ALL); }