mattrobenolt / mattrobenolt/jinja2-cli

request: expand newlines

Open
#141 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
610
Forks
197
PR merge metrics
No merged PRs in 30d

Description

jinja2-cli renders \n in variable expansion as literal $'\n' instead of a line feed.

As this is a breaking change, recommend querying an environment variable to control the behavior. A major version bump would allow that behavior to become the default.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by tracing jinja2-cli's variable-expansion path and how it currently handles escaped newlines, then determine how an environment variable should control the behavior. Done means the requested mode produces line feeds, existing behavior remains considered, and the breaking-change implications are documented or tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.