How to creating code highlighted blocks on your website
- by Saif Bechan
I have written a small PHP framework and I want to make a website where I explain some basic features.
I want to display blocks of php code. Is there an easy to do this, preferably without JavaScript.
I want to have section kind of like displayed below:
// This function takes in a value and return it
public function getname($name){
return $name;
}