MDEx.Alert (MDEx v0.5.0)

View Source

GitHub and GitLab style alerts / admonitions.

See GitHub and GitLab docs.

Summary

Types

t()

@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()],
  title: String.t() | nil
}