Md.parse

You're seeing just the function parse, go back to Md module for more information.
Link to this function

parse(input, listener \\ nil)

View Source

Interface to the library. Use parse/2 to parse the input to the state, use generate/{1,2} to produce an HTML out of the input.

Examples

iex> Md.parse("   foo")
%Md.Parser.State{ast: [{:p, nil, ["foo"]}], mode: [:finished]}

iex> Md.generate("It’s all *bold* and _italic_!", format: :none)
"<p>It’s all <b>bold</b> and <it>italic</it>!</p>"