# `Kreuzberg.DjotAttributes`
[🔗](https://github.com/kreuzberg-dev/kreuzberg/blob/main/lib/kreuzberg/djot.ex#L1)

Element attributes in Djot ({.class #id key="value"} syntax).

Matches the Rust `Attributes` struct.

# `t`

```elixir
@type t() :: %Kreuzberg.DjotAttributes{
  classes: [String.t()],
  id: String.t() | nil,
  key_values: [{String.t(), String.t()}]
}
```

# `from_map`

```elixir
@spec from_map(map()) :: t()
```

# `to_map`

```elixir
@spec to_map(t()) :: map()
```

---

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