chevron icon indicating copy to clipboard operation
chevron copied to clipboard

Code examples suggest the render function doesn't return anything

Open rooby opened this issue 4 years ago • 1 comments

The examples in the readme all do nothing with the output of the render() function, which confusingly seems to indicate that there is no output from that function.

For example:

chevron.render('Hello, {{ mustache }}!', {'mustache': 'World'})

Should be something like

renderedString = chevron.render('Hello, {{ mustache }}!', {'mustache': 'World'})

or similar, so that it's obvious what it's returning.

rooby avatar Apr 07 '21 10:04 rooby

Thanks! I couldn't understand why the render wasn't outputing anything! 😄

MartinDelille avatar Sep 22 '22 15:09 MartinDelille