Edgewall Software

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#127 closed enhancement (fixed)

Custom Wiki Formatting (color coded python code)

Reported by: Stephen <trac@…> Owned by: daniel
Priority: normal Milestone: 0.7
Component: wiki system Version: devel
Severity: normal Keywords:
Cc: tbrkic@… Branch:
Release Notes:
API Changes:
Internal Changes:


We're going to be using Wiki a lot for documenting 'best practices' for coding and general code discussions, so we'd love to be able to color-code the python code in the Wiki like you can in MoinMoin.

It'd be nice to be able to use the same formatting when viewing a file in the Browser or via 'svn:blah/foo' TracLinks. Perhaps a dispatcher function which can determine which formatter to use depending on the filetype/extension?

Attachments (2)

rch.py (10.3 KB ) - added by jernej.goricki@… 13 years ago.
rch.2.py (10.3 KB ) - added by jernej.goricki@… 13 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by Jonas Borgström, 18 years ago

Milestone: 1.0

comment:2 by daniel, 18 years ago

Milestone: 1.00.7

Partially fixed in [429].

The browser still needs to be improved to allow mimeviewers.

comment:3 by daniel, 18 years ago

Cc: tbrkic@… added

Marked #166 as a duplicate.

comment:4 by daniel, 18 years ago

Owner: changed from Jonas Borgström to daniel
Status: newassigned

comment:5 by daniel, 18 years ago

Resolution: fixed
Status: assignedclosed

[429] and [439] implements this as expected.

I've also added built-in WikiProcessors for most common programming languages.

comment:6 by daniel, 18 years ago

See #271 for documentation.

by jernej.goricki@…, 13 years ago

Attachment: rch.py added


by jernej.goricki@…, 13 years ago

Attachment: rch.2.py added

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.