Diesel.Templating (diesel v0.1.0)

Liquid templating support for DSLs during compilation.

Example:

defmodule Paper do
  use Latex

  latex do
    document size: "{{ doc.size }}" do
      ...
    end
  end
end

iex> Paper.compile(%{doc: %{size: "a4"}})

Summary

Functions

Link to this function

render!(tpl, vars)