jinjar
jinjar copied to clipboard
Templating engine for R inspired by Jinja
There are quite a few gotchas where jinjar diverges from Jinja. Unfortunately, these tidbits are buried in the Template Syntax vignette which is quite a long document. I think we...
Fixes #25
We don't currently perform any validation of data variables passed to `render()`. This leads to confusing error messages. See #24.
Thank you for this awesome package. I am trying to add functions to `...` in `render`, but I don't believe I can. Here is a small reprex: ```r add_w
Currently, printing a template uses hardcoded colors. But the appropriateness of these colors depends on the user's terminal theme. For example, if they use dark mode and we hardcode black...
Jinja has a [Meta API](https://jinja.palletsprojects.com/en/3.1.x/api/#the-meta-api) that returns useful details about the parsed template. - [ ] List of variables expected to be provided by `render()` - [ ] List of...