Eml.Markup.Generator
This module defines some macro’s and helper functions for creating Eml element macro’s.
Example
iex> defmodule MyElements do
...> use Eml.Markup.Generator tags: [:custom1, :custom2]
...> end
iex> import MyElements
iex> eml do: custom1 [id: 42], "content in a custom element"
#custom1<%{id: "42"} ["content in a custom element"]>