You should probably be more specific about what you are trying to do. There is a decent chance that a wiki is not what you should be using if you want things like dynamic syntax processing.
--Noah > -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Rodrik > Sent: Tuesday, May 25, 2010 10:39 AM > To: [email protected] > Subject: [Trac] Button instead of Macro Processor > > Hi there! > > I'm creating a macro for Trac which should check, > if parenthesis are correctly opened and closed. Until now, > I wrote a macro, which is able to do the job. > I need your help on two issues: > > 1 - How do it looks like, if I want to, let's say, > have a button on my wiki, which when clicked, > simply processes the text, without the need for > something like '#!macro' in the code. > > 2 - If I do let the macro commando in my wiki text, > how can I avoid that {{{ }}}(blocks) are escaped? > Ex.: > {{{ > #!myMacro > {{{ > Here is a piece text, that should be processed, but shown as block! > }}} > }}} > ---- > So, I want to have the text processed > without the intern {{{ }}} being literally shown. > Until now I'm using something like this to show the wiki content: > > return '<pre class="wiki">%s</pre>' %text > > I would be really thankful, if someone could help me! > > Best greetings, > > Rodrik. > > -- > 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 trac- > [email protected]. > For more options, visit this group at > http://groups.google.com/group/trac-users?hl=en. -- 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.
