inja icon indicating copy to clipboard operation
inja copied to clipboard

A Template Engine for Modern C++

Results 50 inja issues
Sort by recently updated
recently updated
newest added

In some circumstances it might be useful for `Environment` to provide getters to the `lexer_config`, e.g., ```c++ const std::string & Environment::get_statement_open() const { return lexer_config.statement_open; } // etc ``` For...

Add capitalize function like jinja. https://jinja.palletsprojects.com/en/3.1.x/templates/#jinja-filters.capitalize

Add option to .dump() strings instead of .get(). this is useful in cases where the output of the rendered template is expected to be valid JSON. For example: Input: ```json...

Reintroduce JSON Pointer syntax per https://github.com/pantor/inja/issues/269

Appended symbol `(Backtick) to mark name of Id and don't use escapes symbols. In this case you may use any key name in JSON.

**Context:** Currently, inja requires string literals are specified in double quotation marks, because it follows the JSON data syntax. But templates in jinja2 can specify string literals using either single...

Hi, a question: what would be the best way to server inja template files - using FastCGI maybe? I am also interest in how to integrate JWT and DB connections...

Currently, when trying to access an inexistent value from a template the full rendering throw an exception. In some case with large template it would be interesting to render the...

Static analysis on Inja version 3.4.0 with clang-tidy fails on the following (sanitized code): ``` inja/parser.hpp:626:5: error: Address of stack memory associated with local variable 'result' is still referred to...

As the title says, something like `selectattr(array_of_objects, "property")` similar to Jinja's `selectattr` (IIRC? unless I'm confusing with another engine). So that you could: - use statements like `{{ join(selectattr(array_of_objects, "property"),...