You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More detailed examples and features description can be found in the documentation: [https://jinja2cpp.dev/docs/usage](https://jinja2cpp.dev/docs/usage)
93
95
94
96
## Current Jinja2 support
95
-
Currently, Jinja2C++ supports the limited number of Jinja2 features. By the way, Jinja2C++ is planned to be a full[jinja2 specification](http://jinja.pocoo.org/docs/2.10/templates/)-conformant. The current support is limited to:
97
+
Currently, Jinja2C++ supports the limited number of Jinja2 features. By the way, Jinja2C++ is planned to be a fully[jinja2 specification](http://jinja.pocoo.org/docs/2.10/templates/)-conformant. The current support is limited to:
96
98
- expressions. You can use almost every expression style: simple, filtered, conditional, and so on.
97
99
- the big number of filters (**sort, default, first, last, length, max, min, reverse, unique, sum, attr, map, reject, rejectattr, select, selectattr, pprint, dictsort, abs, float, int, list, round, random, trim, title, upper, wordcount, replace, truncate, groupby, urlencode, capitalize, escape, tojson, striptags, center, xmlattr**)
98
100
- the big number of testers (**eq, defined, ge, gt, iterable, le, lt, mapping, ne, number, sequence, string, undefined, in, even, odd, lower, upper**)
@@ -132,7 +134,7 @@ Compilation of Jinja2C++ tested on the following compilers (with C++14 and C++17
Examples of build scripts and different build configurations can be found here: [https://github.com/jinja2cpp/examples-build](https://github.com/jinja2cpp/examples-build)
148
+
Examples of build scripts and different build configurations could be found here: [https://github.com/jinja2cpp/examples-build](https://github.com/jinja2cpp/examples-build)
147
149
148
150
In simplest case to compile Jinja2C++ you need:
149
151
@@ -176,7 +178,7 @@ In simplest case to compile Jinja2C++ you need:
176
178
> cmake --build . --target install
177
179
```
178
180
179
-
In this case, Jinja2C++ will be built with internally-shipped dependencies and install them respectively. But Jinja2C++ supports build with externally-provided deps.
181
+
In this case, Jinja2C++ will be built with internally-shipped dependencies and install them respectively. But Jinja2C++ supports builds with externally-provided deps.
180
182
### Usage with conan.io dependency manager
181
183
Jinja2C++ can be used as conan.io package. In this case, you should do the following steps:
182
184
@@ -225,7 +227,7 @@ You can define (via -D command-line CMake option) the following build flags:
225
227
226
228
227
229
### Build with C++17 standard enabled
228
-
Jinja2C++ try to use standard versions of `std::variant`, `std::string_view` and `std::optional` if possible.
230
+
Jinja2C++ tries to use standard versions of `std::variant`, `std::string_view` and `std::optional` if possible.
229
231
230
232
## Acknowledgments
231
233
Thanks to **@manu343726** for CMake scripts improvement, bug hunting, and fixing and conan.io packaging.
0 commit comments