jinja2cpp / jinja2cpp/Jinja2Cpp

Support for auto-indent blocks

Open
#85 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
600
Forks
114
PR merge metrics
No merged PRs in 30d

Description

https://github.com/pallets/jinja/pull/919

Support for blocks (either variable or statement) which preserve the indentation:

> Blocks now support a new syntax '{%* ... %}' that aligns the indentation of
multiline string with the block statement itself. This is especially
useful when templating YAML or other languages where indentation matters. Example:

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.