This is a trivial plugin that demos how to plug in a templating engine. Jinja2 is Django like engine.
Docstring ''' Render @jinja nodes. - sudo apt-get install python-jinja2 Create headline like this: @jinja ~/foo.txt Select the node and do alt-x act-on-node Conceptually, acts like @nosent - tree is parsed, template is expanded and content is written to the file. Requires "valuespace" plugin. Fetches vars from valuespace. ''' Jinja2 markup: http://jinja.pocoo.org/docs/templates/ @path directives are (of course) honored. What kind of mechanism we will have for rendering multiple template nodes remains to be seen (act-on-subtree ?) -- 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.
