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

Inline element within a Djot block (text, emphasis, link, etc.).

Matches the Rust `InlineElement` struct.

# `t`

```elixir
@type t() :: %Kreuzberg.DjotInlineElement{
  attributes: Kreuzberg.DjotAttributes.t() | nil,
  content: String.t(),
  element_type: String.t(),
  metadata: map() | nil
}
```

# `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*
