Member Avatar

Hi,

I would like to use Google JavaScript code prettifier: https://github.com/google/code-prettify for code syntax highlighting on a forum that is built using PHP, is there anyone who knows how to do it?

_1_6

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

@JamesCherrill

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.