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;
}
For the server-side there are a few options already out there:
highlight_fileandhighlight_stringThere are others, but just letting you know there are libraries available.