Skip to content
Paul Vorbach edited this page Dec 24, 2011 · 2 revisions

tpl allows you to use nearly any document parser with any templating engine you want.

The default document parser is props. The default template rendering engine is ejs.

If you want to use another parser or template engine, you can do so by adding a .tpl directory in the root of you project.

.tpl/
  conf.json
  parsers/
    *.js     // one or more parser scripts
  templates/
    *.js     // one or more template engines
    *.*      // one or more temlates

You can see an example at the repository. The specification for the different interfaces will follow soon.

Clone this wiki locally