EarmarkParser.Options (EarmarkParser v1.4.12) View Source
Link to this section Summary
Link to this section Types
Specs
inline_code_continuation() :: {nil | String.t(), number()}
Specs
maybe(t) :: t | nil
Specs
message() :: {message_type(), number(), String.t()}
Specs
message_type() :: :warning | :error
Specs
numbered_line() :: %{
:line => String.t(),
:lnb => number(),
optional(:inside_code) => String.t()
}
Specs
t() :: %EarmarkParser.Options{
breaks: boolean(),
code_class_prefix: maybe(String.t()),
do_smartypants: term(),
file: term(),
footnote_offset: number(),
footnotes: boolean(),
gfm: boolean(),
gfm_tables: term(),
line: term(),
mapper: term(),
mapper_with_timeout: term(),
messages: term(),
pedantic: boolean(),
pure_links: boolean(),
renderer: term(),
smartypants: boolean(),
timeout: maybe(number()),
wikilinks: boolean()
}
Specs
token() :: {atom(), String.t()}
Specs
tokens() :: [token()]