markright v0.3.1 Markright.Parsers.H
Parses the headers.
Examples
iex> input = "## Hello _world_!\nOther text."
iex> Markright.Parsers.H.to_ast(input)
%Markright.Continuation{
ast: {:h3, %{}, ["Hello ", {:em, %{}, "world"}, "!"]},
tail: "Other text."}
iex> input = "## Hello _world_!\nOther text."
iex> Markright.to_ast(input)
{:article, %{}, [
{:h2, %{}, ["Hello ", {:em, %{}, "world"}, "!"]},
{:p, %{}, "Other text."}]}
Summary
Functions
Callback implementation for Markright.Parser.to_ast/2
Functions
Callback implementation for Markright.Parser.to_ast/2
.