> -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of David > Sent: Friday, June 04, 2010 4:50 PM > To: Trac Users > Subject: [Trac] Re: How does Trac actually work? > > This may be a dumb question but what does "jumping in #trac" refer to? > I'm new :) > > Currently I'm interested in how Trac's wiki engine works and how it's > "source code browser" works. (I'm trying to see if I can wikify source > code comments from the trac browser itself)
#trac is a channel on the freenode IRC servers. Check out http://webchat.freenode.net/?randomnick=1&channels=trac&uio=d4 for a web client. IRC the standard chat system used by most FOSS projects for collaboration. You can find the internals of the wiki formatting system in trac/wiki/formatter.py and trac/wiki/parser.py. Its basically a bit regex parser with a SAX-style output layer. The browser is in trac/versioncontrol/web_ui/browser.py (mostly) but is uses a lot of code from the mimeview system for the display of the actual code. You would probably want to make a replacement syntax coloring component that subclasses the existing one (based on Pygment) and alters the text there (see trac/mimeview/pygments.py). --Noah -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
