Member Avatar


I would like to use Google JavaScript code prettifier: for code syntax highlighting on a forum that is built using PHP, is there anyone who knows how to do it?


Well, the people who wrote it know how. They even documented it on the web. You even posted a link to that very page as part of your question! What exactly is it you need to know that’s not covered there?

Member Avatar


I tried to follow exactly what they wrote but doesn't work for me. Probably the information they provided is partial/incomplete.

More likely you didn't follow their instructions. It looks quite straightforward to me.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.