On Fri, Apr 8, 2011 at 5:51 PM, Kent Tenney <[email protected]> wrote:

> Seems like markup to serialize hierarchies and generate content,
> a markup/templating syntax specific to Leo.
>
> Is that description anywhere close?

Not really :).

@r nodes generate content, but otherwise the introduced rules are
about *collecting* instead of generating. @r nodes generate (body)
text from data collected by the (imho more interesting / important) @x
parts.

My next plan is to plug in a templating system to really generate text
from data in g.vs. This requires analysis of the existing ones:

http://wiki.python.org/moin/Templating

and, picking one that can optimally be installed in /leo/external. Or
we could support several of these from plugins. Mako / Jinja2 /
Cheetah...

Semantically, the templating system would be like @nosent, but the
text gets expanded before written to disk.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" 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/leo-editor?hl=en.

Reply via email to