solid v0.0.2 Solid
Main module to interact with Solid
iex> Solid.parse(“{{ variable }}”) |> Solid.render(%{ “variable” => “value” }) |> to_string “value”
Summary
Functions
It generates the compiled template
It renders the compiled template using a hash
with vars
Functions
Specs
render(any, Map.t) :: iolist
It renders the compiled template using a hash
with vars