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 your readme it says that you support hunter, and it is correct that you have a package lying there: inja version 0.1.1 https://github.com/cpp-pm/hunter/blob/master/cmake/projects/inja/hunter.cmake Would it be possible to update...

The way the single header is generated is not good. It needs to be a custom target, but I am just doing what the CMake build is doing. I would...

Inja doesn't [seem to] have a way to escape HTML entities in a text substitution. So in any situation where you're displaying a user-provided string in a template, like `{{commentText}}`,...

Is possible to make an assignment like `{% set my_var = 42 %}` global inside an Environement in order to be used in subsequent renders?

enhancement

json data; data["one"] = 1; render("{{ sort([3,2,data.one]) }}", data)

enhancement

Hey, I'm currently working on a project which depends on the ordering of insertion. `nlohmann::json` sorts the keys alphabetical. With `nlohmann::ordered_json` this behavior could be changed. However inja defines a...

enhancement

I'm parsing values into markdown format and having an issue when including a curly brace "{" inside of the template. For example the following line fails to parse: `{#{{child.kind}}-{{child.name}}}` ```...

Hi. Lots of package manager thats cool 👍 I miss nuget. Will this be an option in the future?

enhancement

This adds options to disable building the tests or benchmarks when using inja directly as a subproject in Meson. By default, both tests and benchmarks will be built. Changing the...

This is the implementation of https://github.com/pantor/inja/issues/213 Currently there is one breaking thing in the code base. If you choose `nlohmann::ordered_json` the pointer https://github.com/pantor/inja/blob/2d515078c647457436556763aca8d4bf7d11d5e8/include/inja/renderer.hpp#L39 will get invalidated each time a new...