Jinja2 C++ (and for C++) almost full-conformance template engine implementation
MPL-2.0 License
Bot releases are hidden (Show)
Full Changelog: https://github.com/jinja2cpp/Jinja2Cpp/compare/1.3.1...1.3.2
Published by rmorozov 11 months ago
Published by rmorozov 11 months ago
ToJson
filter implementation based on boost::json (rapidjson seems to become abandoned)Full Changelog: https://github.com/jinja2cpp/Jinja2Cpp/compare/1.2.1...1.3.0-beta
Published by rmorozov about 3 years ago
Changes and improvements
Fixed bugs
Breaking changes
Published by rmorozov about 3 years ago
Changes and improvements
Fixed bugs
Breaking changes
Published by flexferrum almost 5 years ago
batch
filter added (#150)slice
filter added (#141)format
filter added (#145)tojson
filter added (#142)striptags
filter added (#177)center
filter added (#179)xmlattr
filter added (#143)raw
/endraw
tags added (#148)'a' * 5
will produce 'aaaaa'
) (#162)meta
/endmeta
tags) added (#107)-fPIC
flag added to Linux build configurationJINJA2CPP_BUILD_SHARED
flag added in order to build shared version of Jinja2C++ libraryblock
content if child doesn't override this block (#161)variant
, string_view
and optional
Published by flexferrum about 5 years ago
default
attribute added to the map
filter (#48)GenericList
type (#66)Value
filter
tag support added to the template parser (#44)escape
filter support added to the template parser (#140)capitalize
filter support added to the template parser (#137)set
tag added to the parser (#45)loop.depth
and loop.depth0
variables support addedTemplateEnv
TemplateEnv
added*context
special param|
) operator precedence (#47)endblock
taginclude
and for
tagsPublished by flexferrum over 5 years ago
include
, import
and from
statements implemented. Now it's possible to include other templates and use macros from other templates.with
statement implementeddo
statement implementedRenderAsString
method now returns nonstd::expected
instead of regular std::string
import
, extends
and include
generate errors if parsed without TemplateEnv
setexternal
dependency management mode by defaultPublished by flexferrum almost 6 years ago
Published by flexferrum about 6 years ago
Published by flexferrum over 6 years ago
Published by flexferrum over 6 years ago
Main Features
Known issues