doT icon indicating copy to clipboard operation
doT copied to clipboard

Documentation

Open ghost opened this issue 6 years ago • 2 comments

Hello, it looks like no one is working on it anymore but it's very interesting. I would like to use it but I have no idea how, the documentation is lacking lot of things. For example the doT.template(...) function takes: tmpl = template c = ? def = ?

ghost avatar Dec 31 '19 13:12 ghost

From the docs site linked in the readme:

function(tmpl, c, def)

tmpl - template text

c - custom compilation settings, if null, doT.templateSettings is used

def - data for compile time evaluation, see advanced sample.

MikeRalphson avatar Dec 31 '19 17:12 MikeRalphson

Part of the documentation is in the website, I agree it’s best to merge.

epoberezkin avatar Jan 01 '20 11:01 epoberezkin