ede icon indicating copy to clipboard operation
ede copied to clipboard

Templating language with similar syntax and features to Liquid or Jinja2.

Results 10 ede issues
Sort by recently updated
recently updated
newest added

I want to use filters which operate on complete object, such as: ```haskell orderSummary :: Order -> Text ``` This forces me to define an `Unqote` instance for the `Order`...

Trying to install/use this on NixOS and getting three test failures (full log shown but errors are near the bottom): ```sh NIXPKGS_ALLOW_BROKEN=1 nix-shell -p 'haskellPackages.ede' ``` ```console this derivation will...

Docs annotate some Collection filters wrongly. ```haskell -- [@reverse :: Collection -> Scientific@] -- /See/: Text.'Data.Text.reverse', Vector.'Data.Vector.reverse' -- -- [@head :: Collection -> Scientific@] -- /See/: Text.'Data.Text.head', Vector.'Data.Vector.head' -- --...

**Version of ED-E used:** - 0.3.3.0 (not sure which commit this refers to, as there doesn't seem to be a 0.3.3.0 tag in the repository; but the incorrect bound is...

``` lib/Text/EDE/Internal/Quoting.hs:132:23: error: • No instance for (Unquote (HashMap.HashMap Text Value)) arising from a use of ‘unquote’ • In the second argument of ‘()’, namely ‘unquote k n q’ In...

**Example:** ``` jinja2 {{ field.value.name | justifyRight(field.value.indent) }} :: {{ field.value.type }} ``` **Error:** ``` error: variable indent.value.field doesn't exist. ```

bug

We're in the process of migrating some Liquid templates (rendered via Rails) over to Haskell and are evaluating our options. Does `ede` have the ability to do something like https://github.com/Shopify/liquid/wiki/Liquid-for-Programmers#create-your-own-tags...

I'm trying to convert an existing Liquid template to an EDE template and not sure how to convert something like this: ``` {% let contact = booking.contacts[0] %} {{ contact...

Ability to strip/preseve whitespace through the use of syntactic variations of the section tags, for example: - `{%-` Strips any preceeding newline - `+%}` Preserves the following newline As an...

enhancement

This PR adds the ability to extend templates via inheritance. Similar to what's available in Jinja. Extending a template allows overriding "blocks" in the base template. This helps supporting more...