# `MDExNative.Comrak.BlockDirective`
[🔗](https://github.com/leandrocp/mdex_native/blob/v0.3.6/lib/mdex_native/comrak/document.ex#L853)

Container block directive.

Uses `:::` syntax to create container blocks:

    :::warning
    A paragraph.

    - item one
    - item two
    :::

Renders as `<div class="warning">...</div>`.

# `t`

```elixir
@type t() :: %MDExNative.Comrak.BlockDirective{
  fence_length: non_neg_integer(),
  fence_offset: non_neg_integer(),
  info: String.t(),
  nodes: [MDExNative.Comrak.ast_node()],
  sourcepos: term()
}
```

---

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