{"repo":"ykmnkmi/jinja.dart","free":true,"listed":false,"github":"https://github.com/ykmnkmi/jinja.dart","clone":"git clone https://github.com/ykmnkmi/jinja.dart.git","description":"Jinja2 template engine port for Dart.","language":"Dart","stars":62,"topics":["dartlang","dart2","template","template-engine","jinja2"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"jinja [![Pub Package][pub icon]][pub] [![Test Status][test ci icon]][test ci] [![CodeCov][codecov icon]][codecov] [Jinja][jinja] (3.x) server-side template engine port for Dart 2. Variables, expressions, control structures and template inheritance. Documentation It is mostly similar to [Jinja][jinja templates] templates documentation, differences provided below. work in progress . Differences with Python version - Auto-escaping and related statements, filters and tests have been removed due to the impossibility of extending String . Use the escape filter manually or escape values before passing them to the template. - The default filter compares values with null . - The defined and undefined tests compare values with null . - The map filter also compares values with null . Use attribute and item filters for object.attribute and object[item] expressions. - If Environment({getAttribute}) is not passed, the getItem method will be used. This allows you to use {{ map.key }} as an expression equivalent to {{ map['key'] }} . - String slices and negative indexes are not supported. - Macro arguments without default values are required. - No FilterArgumentError error class. - No args and kwargs arguments. - No Template module. - work in progress Dynamically invoked members (can increase the size of the JS output) - [] , + , - , , / , / , % operators - object.length getter - object.call getter - Function.apply(function, ...) Example See also examples with [conduit][conduit example] and ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ykmnkmi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ykmnkmi/jinja.dart/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}