Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code examples suggest the render function doesn't return anything #97

Open
rooby opened this issue Apr 7, 2021 · 1 comment
Open

Code examples suggest the render function doesn't return anything #97

rooby opened this issue Apr 7, 2021 · 1 comment

Comments

@rooby
Copy link

rooby commented Apr 7, 2021

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.

@MartinDelille
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants