# `EarmarkParser.Options`
[🔗](https://github.com/RobertDober/earmark_parser/blob/v1.4.46/lib/earmark_parser/options.ex#L1)

# `t`

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

# `normalize`

```elixir
@spec normalize(t() | keyword()) :: t()
```

Use normalize before passing it into any API function

      iex(1)> options = normalize(annotations: "%%")
      ...(1)> Regex.source(options.annotations)
      "\\A(.*)(%%.*)"

---

*Consult [api-reference.md](api-reference.md) for complete listing*
