Earmark.Options (Earmark v1.4.14) View Source

Link to this section Summary

Link to this section Types

Link to this type

inline_code_continuation()

View Source

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() :: %Earmark.Options{
  breaks: boolean(),
  code_class_prefix: maybe(String.t()),
  compact_output: term(),
  do_smartypants: term(),
  escape: boolean(),
  file: term(),
  footnote_offset: number(),
  footnotes: boolean(),
  gfm: boolean(),
  gfm_tables: term(),
  line: term(),
  mapper: term(),
  mapper_with_timeout: term(),
  messages: term(),
  pedantic: boolean(),
  postprocessor: term(),
  pure_links: boolean(),
  renderer: term(),
  smartypants: boolean(),
  timeout: maybe(number()),
  wikilinks: boolean()
}

Specs

token() :: {atom(), String.t()}

Specs

tokens() :: [token()]