I've been searching for a typo3 extension to use when I want to display some code on my pages.
I haven't had much luck because most of them have issues. I'm talking about conflicts with other extensions. One code highlighting extension caused a fatal error of some sort which I wasn't in the mood to debug.
Anyhow, today I found out about the beautyOfCode extension which you can see it's output below. I forgot which layout theme I'm using at the moment, but the extension lets you choose from a variety of layouts.
<?php
echo 'I am trying to create a PHP script that does nothing more than demonstrate this plugin';
// I'm eating some pizza at the moment
$pizza = 'Pizza is really good';
echo '<br />'.$pizza;
?>
Some PHP code
Maybe you haven't noticed, but when your mouse hovers over the code above, you will see a menu with links to view the code in plain text, print, or copy to the clipboard.
Add comment