Exzeitable v0.1.2 Exzeitable.Format View Source

Formatting text

Link to this section Summary

Functions

If function: true, will pass the entry to the function of the same name as the entry Else just output the field

Will output the user supplied label or fall back on the atom

Link to this section Functions

Link to this function

field(entry, key, map)

View Source
field(map(), atom(), map()) :: String.t() | {:safe, iolist()}

If function: true, will pass the entry to the function of the same name as the entry Else just output the field

Link to this function

header(arg)

View Source
header({atom(), map()}) :: String.t()

Will output the user supplied label or fall back on the atom