Minimalistic HTML templates for Elixir, inspired by Slim.
==
and #{{}}
Thanks to all contributors!
Meet the all-new PEG based parser
Thanks to all contributors! Special thanks to @little-bobby-tables
Mixing inline and nested children is no longer supported:
p Inline
span Nested
This will now produce <p>Inline span Nested</p>
instead of <p>Inline<span>Nested</span></p>
.
This is the expected behavior in ruby-slim.
Embedded engine developers should handle dynamic code blocks in render/2
.
First argument of engine's render method is now a list of binaries and dynamic parts in the
form of {:eex, binary}
IE conditional comments are no longer supported #127
Possible symbols for tag shortcuts is now limited to this:
.
, #
, @
, $
, %
, ^
, &
, +
, !
plus any valid tag name
script src=static_path(@conn, "/js/zepto.min.js")
is handled now #115Phoenix.HTML.raw/1
inside #{}
interpolation to avoid escaping by eex
engine #130default_tag
, sort_attrs
Version 0.16 changes:
Version 0.15 changes:
Version 0.14 changes:
keep_lines
option for debuggingVersion 0.13 changes:
Support for multi-line Elixir statements
Version 0.12.2 changes: