Iona.template

You're seeing just the function template, go back to Iona module for more information.
Link to this function

template(assigns, criteria)

View Source

Specs

template(assigns :: Keyword.t() | map(), criteria :: eex_tex_t()) ::
  {:ok, Iona.Template.t()} | {:error, term()}
template(assigns :: Keyword.t() | map(), criteria :: template_opts()) ::
  {:ok, Iona.Template.t()} | {:error, term()}

Fill in a template with assignments, with TeX escaping support

{:ok, template} = [title: "An Article", author: "Bruce Williams"]
|> Iona.template(path: "/path/to/article.tex")

Iona.write(template, "/path/to/article.pdf")