How to creating code highlighted blocks on your website

Posted by Saif Bechan on Stack Overflow See other posts from Stack Overflow or by Saif Bechan
Published on 2010-05-16T12:42:01Z Indexed on 2010/05/16 12:50 UTC
Read the original article Hit count: 155

Filed under:
|
|

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;
}

© Stack Overflow or respective owner

Related posts about html

Related posts about css