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

parse(text)

Specs

parse(String.t) :: any

It generates the compiled template

render(text, hash \\ %{})

Specs

render(any, Map.t) :: iolist

It renders the compiled template using a hash with vars