markright v0.1.0 Markright.Parsers.Blockquote

Parses the input for the blockquote block.

Examples

iex> input = "Hello
...> — world!
...>
...> Other text.
...> "
iex> Markright.Parsers.Blockquote.to_ast(input)
%Markright.Continuation{ast: {:blockquote, %{},
       "Hello\n — world!"}, tail: " Other text.\n "}

Summary

Functions

to_ast(input, fun \\ nil, opts \\ %{})

Callback implementation for Markright.Parser.to_ast/3.