Eml.Element.Generator

This module defines some macro’s and helper functions for generating Eml element macro’s.

Example

iex> defmodule MyElements do
...>   use Eml.Element.Generator tags: [:custom1, :custom2]
...> end
iex> import MyElements
iex> custom1 [id: 42], "content in a custom element"
#custom1<%{id: "42"} ["content in a custom element"]>
Source