Coelho.Schema.MarkSpec (coelho v0.1.0)

Copy Markdown View Source

Specification of a single mark type, such as bold or link.

Summary

Types

t()

@type t() :: %Coelho.Schema.MarkSpec{
  attrs: %{optional(atom()) => Coelho.Schema.Attr.t()},
  name: atom(),
  parse: [Coelho.HTML.rule()],
  render: Coelho.Schema.NodeSpec.render()
}