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

Link element in a Djot document.

Matches the Rust `DjotLink` struct.

# `t`

```elixir
@type t() :: %Kreuzberg.DjotLink{
  attributes: Kreuzberg.DjotAttributes.t() | nil,
  text: String.t(),
  title: String.t() | nil,
  url: 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*
