Skip to content

Implement 'format' filter #145

Closed
Closed
@flexferrum

Description

@flexferrum

Implement 'format' filter according to the jinja2 specification:

Apply python string formatting on an object:

{{ "%s - %s"|format("Hello?", "Foo!") }}
    -> Hello? - Foo!

Actually, {fmt} library has got all necessary facilities for analyze python format strings so, it could be good idea to reuse this facilities during resolving this issue.

Metadata

Metadata

Assignees

Labels

die hardDifficult to fix/implement bug or featurehacktoberfestIssues for Hacktoberfest

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions