Opened 14 years ago

Closed 11 years ago

#127 closed task (fixed)

Add syntax coloring to wiki

Reported by: nowakpl Owned by: hobu
Priority: normal Milestone:
Component: Systems Admin 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 Changed 14 years ago by nowakpl

XML coloring would be nice too.

comment:2 Changed 14 years ago by warmerdam

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 Changed 11 years ago by crschmidt

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.