On Wednesday 27 September 2006 20:32 Noah Kantrowitz wrote:
> TracNav parses the text of the TOC page directly, so no, you cannot
> do that.

Well, that's not the complete story. The TracNav plugin has a (currently 
hardcoded) list ALLOWED_MACROS, and if you add "subwiki" to that list, your 
example will almost work:

> >  * Use Cases
> >    [[SubWiki(UseCases/,1)]]

You additionally have to add a star before the last line:

 * Use Cases
   * [[SubWiki(UseCases/,1)]]

as TracNav parses the toc line-by-line and discards that line before even 
executing the macro, because it considers only lines starting with whitespace 
followed directly by a star.

I must admit that this is not a very clean solution, and eventually we'll 
rework TracNav's parser.

- Thomas

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to