parse(
input,options) ->events
Parse markdown and collect events into an array
Parses input and returns an array of event tables. Options:
on_event: custom callback (default: collect into array)inline: parse inline elements (default true)streaming_inline: emit inline events incrementally (default true)resolve_tightness: resolve list looseness onto each list's block_start
instead of reporting it through list_loose events (default false)An attribute block after a link, an image or an autolink adds its keys to
the link's attrs: {.cls #id key=val} gives class, id and key.
The block never sets href, autolink or wikilink, which the parser
reads from the link itself. It sets title only when the link has none:
[x](a "t"){title=u} keeps t.