on Thu Jun 28 2007, Christian Boos <cboos-AT-neuf.fr> wrote:

> In what is the proposed syntax not simple? It reuses the well-known 
> {{{...}}} construct (for both the inline and block case) and extends it 
> a bit. Simple to understand and implement, and they nest cleanly.

>From the user's POV, the triple curlies today clearly imply: "this
will *not* be interpreted by the regular trac wiki markup engine.
Either we are going to treat it as literal text, or some other markup
processor will handle it."  IIUC, you're proposing to change that, and
I think it could be confusing.

One thing it does well is fix a problem with HTML that you essentially
lose matching parentheses (i.e. as you say, it nests).  The macro
solution as proposed doesn't do that and I agree that's a weakness.

I don't know how much you can stuff into a macro argument or even
what the valid syntaxes are, but would something like:

  [[htmltag(div, class="foo") 
                 content
                 goes
                 here
  ]]

be a possibility?

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

The Astoria Seminar ==> http://www.astoriaseminar.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to