markright v0.4.0 Markright.Helpers.Flush

Generic handler for flushes. Use as:

defmodule Markright.Parsers.Maillink do
  use Markright.Helpers.Flush tag: :br

  # the below code is redundant, this functions is generated by `use`,
  #   the snippet is here to provide a how-to, since `to_ast/3` is overridable
  def to_ast(...) when is_binary(input) do
    ...
  end
end