Project

General

Profile

Syntax Highlighting and Colors in Wiki

Added by Calvin Cheng over 15 years ago

Hi guys,

I am currently fiddling with this patch #1651 and I can't seem to get the syntax colors to show up.

Has anyone done something similar? Or has somewhere successfully applied this patch with syntax colors working? In my wiki, this is my attempt to get the syntax colors showing up:

This is Python Code:

class Blog:
    print "Hello World" 
    if blogname:
        print "Blogname is %s" % (blogname)
    else:
        print "No blogname"