markright v0.2.4 Markright.Parsers.Word

Parses the input until the first occurence of a space.

Examples

iex> "Hello my lovely world!" |> Markright.Parsers.Word.to_ast
%Markright.Continuation{ast: "Hello", tail: "my lovely world!"}

Summary

Functions

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

Callback implementation for Markright.Parser.to_ast/3.