jinja 0.0.7 copy "jinja: ^0.0.7" to clipboard
jinja: ^0.0.7 copied to clipboard

outdated

Jinja2 server-side template engine for Dart. Variables, expressions, control structures and template inheritance.

Pub Build Status

Jinja 2 server-side template engine for Dart 2. Variables, expressions, control structures and template inheritance.

Draft

All variables passed to the template and literals used in the template are dart objects with their own fields and methods.

To Do #

  • Compile templates to fast Dart code
  • Docs
  • Informative error handling
  • Package tests
  • Add missing filters
  • Loaders
    • PackageLoader
    • FunctionLoader
    • PrefixLoader
    • ChoiceLoader
  • Whitespace Control
  • Escaping
  • Line Statements
  • Statements
    • For
      • Recursive
    • Macro
    • Call
    • Filter
    • Set
    • Template Inheritance
      • Include
      • Import
  • Expressions
    • ... if ... else ... condition expression
    • ~ concat

Done #

  • Loaders
    • FileSystemLoader
    • MapLoader (DictLoader)
  • Variables
  • Filters
    • abs
    • attr
    • batch
    • default
    • e,escape
    • join
    • list
    • lower
    • sublist
    • sum
  • Tests
  • Comments
  • Statements
    • For
    • If
    • Template Inheritance
      • Extends
      • Block
        • Super
  • Expressions
    • Literals
    • Math
    • Comparison
    • Logic
    • in
    • is tests
    • | filters
    • () call callable
    • ./[] object attribute (. for field, [] for map)
32
likes
0
pub points
87%
popularity

Publisher

unverified uploader

Jinja2 server-side template engine for Dart. Variables, expressions, control structures and template inheritance.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

path, string_scanner

More

Packages that depend on jinja