Earmark v1.4.4 Earmark.Options View Source

Link to this section Summary

Link to this section Types

Link to this type

inline_code_continuation()

View Source
inline_code_continuation() :: {nil | String.t(), number()}
Link to this type

maybe(t)

View Source
maybe(t) :: t | nil
Link to this type

message_type()

View Source
message_type() :: :warning | :error
Link to this type

numbered_line()

View Source
numbered_line() :: %{
  :line => String.t(),
  :lnb => number(),
  optional(:inside_code) => String.t()
}
Link to this type

t()

View Source
t() :: %Earmark.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(),
  plugins: term(),
  pure_links: boolean(),
  render_code: term(),
  renderer: term(),
  smartypants: boolean(),
  timeout: maybe(number())
}
Link to this type

tokens()

View Source
tokens() :: [token()]