Opened 17 years ago

Closed 14 years ago

#127 closed task (fixed)

Add syntax coloring to wiki

Reported by: nowakpl Owned by: hobu
Priority: normal Milestone:
Component: SysAdmin Keywords:
Cc: warmerdam

Description

Can we have trac wiki to support C / C++ syntax coloring ?

http://trac.osgeo.org/gdal/wiki/TracSyntaxColoring

Change History (3)

comment:1 by nowakpl, 17 years ago

XML coloring would be nice too.

comment:2 by warmerdam, 17 years ago

Cc: warmerdam added
Component: WebSiteSAC
Owner: changed from webcom@… to hobu

Howard,

I think you have already setup the syntax support with enscript, right? I'm not in favor of the xml highlighting if it is going to require all that silverlight stuff, but I leave it to your judgement of course.

comment:3 by crschmidt, 14 years ago

Resolution: fixed
Status: newclosed

With 0.11, we only need python-pygments, which was just an apt-get install and an apache restart away.

from future import awesome
def foo(a):
    print "The world is %s %s" % (a, awesome)
Note: See TracTickets for help on using tickets.