# `MDEx.Alert`
[🔗](https://github.com/leandrocp/mdex/blob/v0.12.0/lib/mdex/document.ex#L3267)

GitHub and GitLab style alerts / admonitions.

See [GitHub](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts)
and [GitLab](https://docs.gitlab.com/user/markdown/#alerts) docs.

# `t`

```elixir
@type t() :: %MDEx.Alert{
  alert_type: :note | :tip | :important | :warning | :caution,
  fence_length: non_neg_integer(),
  fence_offset: non_neg_integer(),
  multiline: boolean(),
  nodes: [MDEx.Document.md_node()],
  sourcepos: term(),
  title: String.t() | nil
}
```

---

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