View Source EarmarkParser.Options (EarmarkParser v1.4.39)

Summary

Functions

Use normalize before passing it into any API function

Types

@type t() :: %EarmarkParser.Options{
  all: boolean(),
  annotations: nil | binary(),
  breaks: boolean(),
  code_class_prefix: nil | binary(),
  file: binary(),
  footnote_offset: non_neg_integer(),
  footnotes: boolean(),
  gfm: boolean(),
  gfm_tables: boolean(),
  line: number(),
  math: term(),
  messages: MapSet.t(),
  parse_inline: boolean(),
  pedantic: boolean(),
  pure_links: boolean(),
  renderer: term(),
  smartypants: boolean(),
  sub_sup: boolean(),
  timeout: nil | non_neg_integer(),
  wikilinks: boolean()
}

Functions

Use normalize before passing it into any API function

  iex(1)> options = normalize(annotations: "%%")
  ...(1)> options.annotations
  ~r{\A(.*)(%%.*)}